diff options
-rwxr-xr-x | alltests.sh | 2 | ||||
-rw-r--r-- | test/test_process.py | 5 |
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. |