summaryrefslogtreecommitdiff
path: root/tests/test_coverage.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-01-06 19:56:12 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-01-10 09:46:18 -0500
commit9a6248090ba51ab8aedaa0ed69363f58d4100cfb (patch)
tree1be922480b02e3030a953514ac79c997278a3bc1 /tests/test_coverage.py
parent7e5e28f1aba87c10b96d0ae1244352f4c520aedc (diff)
downloadpython-coveragepy-git-9a6248090ba51ab8aedaa0ed69363f58d4100cfb.tar.gz
A better test for 'if not __debug__'
Diffstat (limited to 'tests/test_coverage.py')
-rw-r--r--tests/test_coverage.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_coverage.py b/tests/test_coverage.py
index a6c8f492..68eea115 100644
--- a/tests/test_coverage.py
+++ b/tests/test_coverage.py
@@ -8,7 +8,7 @@ import coverage
from coverage import env
from coverage.misc import CoverageException
-from tests.coveragetest import CoverageTest, xfail
+from tests.coveragetest import CoverageTest
class TestCoverageTest(CoverageTest):
@@ -679,7 +679,6 @@ class CompoundStatementTest(CoverageTest):
""",
[1,2,3,5], "")
- @xfail(env.PYBEHAVIOR.pep626, reason="pep626: https://bugs.python.org/issue42810")
def test_if(self):
self.check_coverage("""\
a = 1