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

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

Build:
Build:
LAST BUILD BRANCH: future/pathlib
DEFAULT BRANCH: master
Ran 28 Aug 2018 12:40AM UTC
Jobs 1
Files 52
Run time 8s
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

pending completion
5834

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

7 of 7 new or added lines in 1 file covered. (100.0%)

9233 of 9967 relevant lines covered (92.64%)

0.93 hits per line

Jobs
ID Job ID Ran Files Coverage
2 5834.2 (TOXENV=coveralls) 28 Aug 2018 12:40AM UTC 0
92.64
Travis Job 5834.2
Source Files on build 5834
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5834
  • Pull Request #3895
  • PR Base - master (#5829)
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