diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-01-31 11:31:43 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-01-31 11:41:57 -0500 |
commit | bf29fdcf295b32e88a7407c244a5c703f0499ca9 (patch) | |
tree | 88aae5e2e09dc2eec1103af6b2ddd3dc9f435139 /tests/test_arcs.py | |
parent | f18dd6884665f915868d199917075682f7e2e151 (diff) | |
download | python-coveragepy-git-bf29fdcf295b32e88a7407c244a5c703f0499ca9.tar.gz |
test: keep multi-assert arc diffs working
We don't have a way to do multi-assert in the pytest we're running, so
cobble it together ourselves.
Diffstat (limited to 'tests/test_arcs.py')
-rw-r--r-- | tests/test_arcs.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py index 2f49ecfb..3b63bcc2 100644 --- a/tests/test_arcs.py +++ b/tests/test_arcs.py @@ -270,13 +270,10 @@ class LoopArcTest(CoverageTest): # With "while 1", the loop knows it's constant. if env.PYBEHAVIOR.keep_constant_test: arcz = ".1 12 23 34 45 36 62 57 7." - arcz_missing = "" elif env.PYBEHAVIOR.nix_while_true: arcz = ".1 13 34 45 36 63 57 7." - arcz_missing = "" else: arcz = ".1 12 23 34 45 36 63 57 7." - arcz_missing = "" self.check_coverage("""\ a, i = 1, 0 while 1: @@ -287,7 +284,6 @@ class LoopArcTest(CoverageTest): assert a == 4 and i == 3 """, arcz=arcz, - arcz_missing=arcz_missing, ) def test_while_true(self): |