summaryrefslogtreecommitdiff
path: root/coverage
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-12-24 15:21:25 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-12-24 15:21:25 -0500
commitce4b335a2ac7783479d8a0bdee21358a8d6c743d (patch)
tree09c37ca18528ae863e489efe8883f025182c7320 /coverage
parent94c343c54b762bcfbdd3f973e7b2db766380c343 (diff)
downloadpython-coveragepy-ce4b335a2ac7783479d8a0bdee21358a8d6c743d.tar.gz
Move the test program into the test
Diffstat (limited to 'coverage')
-rw-r--r--coverage/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/parser.py b/coverage/parser.py
index e270851..e027b41 100644
--- a/coverage/parser.py
+++ b/coverage/parser.py
@@ -646,7 +646,7 @@ class AstArcAnalyzer(object):
if node_name in ["NameConstant", "Num"]:
return "Num"
elif node_name == "Name":
- if (( env.PY3 or env.PYVERSION >= (2, 7)) and
+ if ((env.PY3 or env.PYVERSION >= (2, 7)) and
node.id in ["True", "False", "None"]):
return "Name"
return None