diff options
-rw-r--r-- | .treerc | 1 | ||||
-rw-r--r-- | test/test_html.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -6,6 +6,7 @@ ignore = build htmlcov .tox* + .coverage* mock.py *.min.js sample_html sample_html_beta diff --git a/test/test_html.py b/test/test_html.py index 2e84620e..9d1b7523 100644 --- a/test/test_html.py +++ b/test/test_html.py @@ -304,7 +304,7 @@ class HtmlTest(CoverageTest): os.remove("sub/another.py") missing_file = os.path.join(self.temp_dir, "sub", "another.py") - self.assertRaisesRegexp(NoSource, + self.assertRaisesRegexp(NoSource, "(?i)No source for code: '%s'" % re.escape(missing_file), cov.html_report ) |