diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_html.py | 2 | ||||
-rw-r--r-- | tests/test_summary.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_html.py b/tests/test_html.py index 504c5e80..6c4c706c 100644 --- a/tests/test_html.py +++ b/tests/test_html.py @@ -352,7 +352,7 @@ class HtmlWithUnparsableFilesTest(HtmlTestHelpers, CoverageTest): 1, "Expected a warning to be thrown when an invalid python file is parsed") self.assertIn( - "Could not parse Python file", + "Couldn't parse Python file", cov._warnings[0], "Warning message should be in 'invalid file' warning" ) diff --git a/tests/test_summary.py b/tests/test_summary.py index d7ee28ba..8a59a7ed 100644 --- a/tests/test_summary.py +++ b/tests/test_summary.py @@ -580,7 +580,7 @@ class SummaryTest(UsingModulesMixin, CoverageTest): self.make_file("mycode.py", "This isn't python at all!") report = self.report_from_command("coverage report -i mycode.py") - # Coverage.py warning: Could not parse Python file blah_blah/mycode.py (couldnt-parse) + # Coverage.py warning: Couldn't parse Python file blah_blah/mycode.py (couldnt-parse) # Name Stmts Miss Cover # ---------------------------- # No data to report. |