diff options
-rw-r--r-- | test/test_process.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/test_process.py b/test/test_process.py index 684a5de0..169bd7bf 100644 --- a/test/test_process.py +++ b/test/test_process.py @@ -251,12 +251,9 @@ class ProcessTest(CoverageTest): """) out = self.run_command("coverage run --source=sys,xyzzy hello.py") - # This output is not in the same order it appears in real command line - # output, but this is how it appears in the combined stdout/stderr that - # run_command gives us. - self.assertMultiLineEqual(out, textwrap.dedent("""\ - Hello + self.assertTrue("Hello\n" in out) + self.assertTrue(textwrap.dedent("""\ Coverage.py warning: Module sys has no python source. Coverage.py warning: Source module xyzzy was never encountered. Coverage.py warning: No data was collected. - """)) + """) in out) |