GitXplorerGitXplorer
m

coverage-bug

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
3c2352be60c5bb2ae59ee9a1eaaf262c493452d7

found the bug

mmumbleskates committed 5 years ago
Unverified
31fe7c70afca3e2d73877bba845721fa58b960b7

add files

mmumbleskates committed 5 years ago
Unverified
6a3e9186c3c1a0375f1015e9f8f487501afe9234

first commit

mmumbleskates committed 5 years ago

README

The README file for this repository.

This repo exemplifies some broken behavior in the coverage module. Specifically, in python 3.8 (but not 3.7 or before), some break statements have no coverage as if they were never run, even if they very clearly were.

More information about this bug: https://github.com/nedbat/coveragepy/issues/772

With a virtualenv set up:

$ pip install -e .[test] $ tox

The frozen requirements of the broken state are also written in freeze_broken.txt, so it can also be installed with pip install -r freeze_broken.txt when in the coverage-bug folder.

pytest also reads from tox.ini so for a quick reproduction of 3.8 only you can simply install in a python3.8 virtualenv and run pytest.