summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-03-25 00:04:32 -0400
committerNed Batchelder <ned@nedbatchelder.com>2012-03-25 00:04:32 -0400
commit6180169621750597a47dd34a176d0eaedcc09eac (patch)
tree9991cc7fa4cc090f1fc328b2eaaf3c0855472084
parent7f9d40fe5474a6f59e9a1cf2c52179f77f9a1714 (diff)
downloadpython-coveragepy-git-6180169621750597a47dd34a176d0eaedcc09eac.tar.gz
Make the tests pass on 3.3.0a1
-rwxr-xr-xalltests.sh2
-rw-r--r--test/test_process.py5
2 files changed, 5 insertions, 2 deletions
diff --git a/alltests.sh b/alltests.sh
index 096b1c5c..a2d7e373 100755
--- a/alltests.sh
+++ b/alltests.sh
@@ -11,7 +11,7 @@ echo "Testing in $ve"
source $ve/26/bin/activate
make --quiet testdata
-for v in 23 24 25 26 27 31 32
+for v in 23 24 25 26 27 31 32 33
do
source $ve/$v/bin/activate
python setup.py -q develop
diff --git a/test/test_process.py b/test/test_process.py
index 05857b1d..f8d1b8d1 100644
--- a/test/test_process.py
+++ b/test/test_process.py
@@ -351,7 +351,10 @@ class ProcessTest(CoverageTest):
self.assertTrue("warning" not in out)
out = self.run_command("coverage run -m no_such_module")
- self.assertTrue("No module named no_such_module" in out)
+ self.assertTrue(
+ ("No module named no_such_module" in out) or
+ ("No module named 'no_such_module'" in out)
+ )
self.assertTrue("warning" not in out)
if sys.version_info >= (3, 0): # This only works on 3.x for now.