summaryrefslogtreecommitdiff
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
commit720172f462301b5eeae24d597f4bd01afd9e5bc6 (patch)
treeebaadf66da8822a01eea96a43fdaddb93903d946
parent4c9503ebb4ba59bb107c447b07e326127905ef57 (diff)
downloadpython-coveragepy-720172f462301b5eeae24d597f4bd01afd9e5bc6.tar.gz
Mysterious case of 'coverage2' being available in py35, not sure why
-rw-r--r--Makefile1
-rw-r--r--tests/test_process.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 207a24d..e7420a7 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,7 @@ default:
@echo "* No default action *"
clean:
+ -pip uninstall -y coverage
-rm -f *.pyd */*.pyd
-rm -f *.so */*.so
-PYTHONPATH=. python tests/test_farm.py clean
diff --git a/tests/test_process.py b/tests/test_process.py
index 9334783..be9bdb7 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)