diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-07-12 08:05:49 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-07-12 08:39:01 -0400 |
commit | 0d6449874cd4d3003ce908d66fa654b64bfea0c0 (patch) | |
tree | e6f2449abf080fa99562b7efe4952675d6fdd5ec /tests/test_arcs.py | |
parent | 297b70e43e083297093781be6e5e1681e5dd70cb (diff) | |
download | python-coveragepy-git-0d6449874cd4d3003ce908d66fa654b64bfea0c0.tar.gz |
fix: 3.11.0b4 has 0-numbered lines. Fixes #1419
CPython added these lines in
https://github.com/python/cpython/commit/1bfe83a114da3939c00746fc44dc5da7f56f525f
Diffstat (limited to 'tests/test_arcs.py')
-rw-r--r-- | tests/test_arcs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py index d0e840af..d907e8c7 100644 --- a/tests/test_arcs.py +++ b/tests/test_arcs.py @@ -158,6 +158,8 @@ class SimpleArcTest(CoverageTest): if env.JYTHON: # Jython reports no lines for an empty file. arcz_missing=".1 1." # pragma: only jython + elif env.PYBEHAVIOR.empty_is_empty: + arcz_missing=".1 1." else: # Other Pythons report one line. arcz_missing="" |