summaryrefslogtreecommitdiff
path: root/test/test_process.py
diff options
context:
space:
mode:
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.