diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-03-25 00:04:32 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-03-25 00:04:32 -0400 |
commit | 6180169621750597a47dd34a176d0eaedcc09eac (patch) | |
tree | 9991cc7fa4cc090f1fc328b2eaaf3c0855472084 /test/test_process.py | |
parent | 7f9d40fe5474a6f59e9a1cf2c52179f77f9a1714 (diff) | |
download | python-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.py | 5 |
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. |