summaryrefslogtreecommitdiff
path: root/tests/test_html.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-10-10 11:58:26 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-10-10 11:58:26 -0400
commite54b7576a35b3dd4642788cff557a2ccebf7582b (patch)
tree3369a7d4372a1d20ec100a05d7f732184b2e86b6 /tests/test_html.py
parent036baa78a006c061862ed2e16db51a2f8be7b29e (diff)
downloadpython-coveragepy-git-e54b7576a35b3dd4642788cff557a2ccebf7582b.tar.gz
refactor: no need for maybe-u prefixes in test regexes
That was for Python 2, which we don't support anymore.
Diffstat (limited to 'tests/test_html.py')
-rw-r--r--tests/test_html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_html.py b/tests/test_html.py
index f5908d7b..7368cdb1 100644
--- a/tests/test_html.py
+++ b/tests/test_html.py
@@ -607,7 +607,7 @@ class HtmlStaticFileTest(CoverageTest):
self.make_file("main.py", "print(17)")
cov = coverage.Coverage()
self.start_import_stop(cov, "main")
- msg = "Couldn't find static file u?'.*'"
+ msg = "Couldn't find static file '.*'"
with pytest.raises(CoverageException, match=msg):
cov.html_report()