summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_html.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_html.py b/tests/test_html.py
index 40852acc..eff3ca31 100644
--- a/tests/test_html.py
+++ b/tests/test_html.py
@@ -291,6 +291,7 @@ class HtmlTest(CoverageTest):
os.remove("sub/another.py")
missing_file = os.path.join(self.temp_dir, "sub", "another.py")
+ missing_file = os.path.realpath(missing_file)
self.assertRaisesRegexp(NoSource,
"(?i)No source for code: '%s'" % re.escape(missing_file),
cov.html_report