summaryrefslogtreecommitdiff
path: root/test/test_process.py
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 /test/test_process.py
parent7f9d40fe5474a6f59e9a1cf2c52179f77f9a1714 (diff)
downloadpython-coveragepy-git-6180169621750597a47dd34a176d0eaedcc09eac.tar.gz
Make the tests pass on 3.3.0a1
Diffstat (limited to 'test/test_process.py')
-rw-r--r--test/test_process.py5
1 files changed, 4 insertions, 1 deletions
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.