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 | cfa0e6044634aadb62c97a3920e60fb79fe4b6b3 (patch) | |
tree | cc37fcd6f0829ee5647d438f3d070651b94a6665 /test/test_process.py | |
parent | 95b8d7c8278cdc04c3d9691d98d2ef337edc3b88 (diff) | |
download | python-coveragepy-cfa0e6044634aadb62c97a3920e60fb79fe4b6b3.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 05857b1..f8d1b8d 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. |