diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-12-08 11:48:49 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-12-08 12:15:46 -0500 |
commit | ae147cec4dda255b7d2119cc595256ba15dcba0f (patch) | |
tree | d22c3b62a7f28f21c8035052fe349ddb2d30b59f /tests | |
parent | d5d3cb077e11db37ead90cbf14baf3357c3f9493 (diff) | |
download | python-coveragepy-git-ae147cec4dda255b7d2119cc595256ba15dcba0f.tar.gz |
Polish up cmd.rst
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. |