summaryrefslogtreecommitdiff
path: root/tests/test_parser.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-12-24 21:42:37 -0500
committerNed Batchelder <ned@nedbatchelder.com>2015-12-24 21:42:37 -0500
commitdd5f8a759843724eaf278a7fa10f6b905d955b34 (patch)
tree8b19ba7325fe03fae1822a008119e7ccebf6bcce /tests/test_parser.py
parent1511a0f9870f39c02b3af75cd22ed4882215e1f1 (diff)
downloadpython-coveragepy-git-dd5f8a759843724eaf278a7fa10f6b905d955b34.tar.gz
if 0: might not do what we want, use a non-constant
Diffstat (limited to 'tests/test_parser.py')
-rw-r--r--tests/test_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_parser.py b/tests/test_parser.py
index 44a261d9..2a4c88a7 100644
--- a/tests/test_parser.py
+++ b/tests/test_parser.py
@@ -81,7 +81,7 @@ class PythonParserTest(CoverageTest):
def __init__(self):
pass
- if 0: # nocover
+ if len([]): # nocover
class Bar:
pass
""")