diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-10 15:19:09 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-10 15:19:09 -0500 |
commit | f52b43321aad4c8e50bafbfbe95f1e7e570b4b8d (patch) | |
tree | 78732b1d1d9a24a84b0424ad5cd355c05c6ca96b /test/test_summary.py | |
parent | 5aa66708b1c35fc7ce6e234bfe7684325e327ce4 (diff) | |
download | python-coveragepy-git-f52b43321aad4c8e50bafbfbe95f1e7e570b4b8d.tar.gz |
Upgrading pylint means fixing more nits.
Diffstat (limited to 'test/test_summary.py')
-rw-r--r-- | test/test_summary.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_summary.py b/test/test_summary.py index fd5c1b66..fae91ba5 100644 --- a/test/test_summary.py +++ b/test/test_summary.py @@ -142,9 +142,9 @@ class SummaryTest(CoverageTest): last = self.last_line_squeezed(report) # The actual file name varies run to run. - last = re.sub("parse '.*mycode.py", "parse 'mycode.py", last) + last = re.sub(r"parse '.*mycode.py", "parse 'mycode.py", last) # The actual error message varies version to version - last = re.sub(": '.*' at", ": 'error' at", last) + last = re.sub(r": '.*' at", ": 'error' at", last) self.assertEqual(last, "mycode NotPython: " "Couldn't parse 'mycode.py' as Python source: " |