summaryrefslogtreecommitdiff
path: root/test/test_summary.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-11-10 15:19:09 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-11-10 15:19:09 -0500
commitbd179654c530a2d20a79104514e4f9e663d33cfe (patch)
tree1de32903b0c3ee8d4a7ceebca3566e055f9d1d08 /test/test_summary.py
parent53f3439dab1cec091cf9623e882435e50838e448 (diff)
downloadpython-coveragepy-bd179654c530a2d20a79104514e4f9e663d33cfe.tar.gz
Upgrading pylint means fixing more nits.
Diffstat (limited to 'test/test_summary.py')
-rw-r--r--test/test_summary.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_summary.py b/test/test_summary.py
index fd5c1b6..fae91ba 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: "