summaryrefslogtreecommitdiff
path: root/tests/test_process.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2017-01-03 09:49:14 -0500
committerNed Batchelder <ned@nedbatchelder.com>2017-01-03 09:49:14 -0500
commit9a1dd4f56a9605cf019f08c356224546f5ce62a6 (patch)
treeae0c1c519ae53790eb8174825594d3a6e28efc96 /tests/test_process.py
parent7951aefa5929a79f96a655aa52871b6e38569c43 (diff)
downloadpython-coveragepy-git-9a1dd4f56a9605cf019f08c356224546f5ce62a6.tar.gz
Mysterious case of 'coverage2' being available in py35, not sure why
Diffstat (limited to 'tests/test_process.py')
-rw-r--r--tests/test_process.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_process.py b/tests/test_process.py
index 93347830..be9bdb76 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -881,6 +881,7 @@ class AliasedCommandTest(CoverageTest):
def test_wrong_alias_doesnt_work(self):
# "coverage3" doesn't work on py2
+ assert sys.version_info[0] in [2, 3] # Let us know when Python 4 is out...
badcmd = "coverage%d" % (5 - sys.version_info[0])
out = self.run_command(badcmd)
self.assertNotIn("Code coverage for Python", out)