diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-12-24 15:21:25 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-12-24 15:21:25 -0500 |
commit | fd9b1e460826789468e4a8b0986aad074615587b (patch) | |
tree | 457f94a92e093c6c6d1f37f5fc5c371c109a1d81 /coverage/parser.py | |
parent | 5d4f399607fd711a1fb11d7c011f4466c6f50603 (diff) | |
download | python-coveragepy-git-fd9b1e460826789468e4a8b0986aad074615587b.tar.gz |
Move the test program into the test
Diffstat (limited to 'coverage/parser.py')
-rw-r--r-- | coverage/parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/parser.py b/coverage/parser.py index e2708519..e027b41b 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 |