summaryrefslogtreecommitdiff
path: root/tests/test_process.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_process.py')
-rw-r--r--tests/test_process.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_process.py b/tests/test_process.py
index 58915b87..5510efe5 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -1298,7 +1298,7 @@ class UnicodeFilePathsTest(CoverageTest):
# The HTML report uses ascii-encoded HTML entities.
out = self.run_command("coverage html")
- assert out == ""
+ assert re.fullmatch(r"Wrote HTML report to htmlcov[/\\]index.html\n", out)
self.assert_exists("htmlcov/h\xe2t_py.html")
with open("htmlcov/index.html") as indexf:
index = indexf.read()
@@ -1331,7 +1331,7 @@ class UnicodeFilePathsTest(CoverageTest):
# The HTML report uses ascii-encoded HTML entities.
out = self.run_command("coverage html")
- assert out == ""
+ assert re.fullmatch(r"Wrote HTML report to htmlcov[/\\]index.html\n", out)
self.assert_exists("htmlcov/d_5786906b6f0ffeb4_accented_py.html")
with open("htmlcov/index.html") as indexf:
index = indexf.read()