• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pytest-dev / pytest / 5834 / 2
93%
master: 51%

Build:
Build:
LAST BUILD BRANCH: future/pathlib
DEFAULT BRANCH: master
Ran 28 Aug 2018 12:40AM UTC
Files 52
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Aug 2018 12:30AM UTC coverage: 92.636% (+0.06%) from 92.581%
TOXENV=coveralls

Pull #3895

travis-ci

web-flow
Avoid possible infinite recursion when writing pyc files in assert rewrite

What happens is that atomic_write on Python 2.7 on Windows will try
to convert the paths to unicode, but this triggers the import of
the encoding module for the file system codec, which in turn triggers
the rewrite, which in turn again tries to import the module, and so on.

This short-circuits the cases where we try to import another file when
writing a pyc file; I don't expect this to affect anything because
the only modules that could be affected are those imported by
atomic_writes.

Fix #3506
Pull Request #3895: Avoid possible infinite recursion when writing pyc files in assert rewrite

9233 of 9967 relevant lines covered (92.64%)

0.93 hits per line

Source Files on job 5834.2 (TOXENV=coveralls)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5555
  • Travis Job 5834.2
  • a784519f on github
  • Prev Job for TOXENV=coveralls on issue-3506 (#5829.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc