summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2013-08-14 08:10:41 -0400
committerNed Batchelder <ned@nedbatchelder.com>2013-08-14 08:10:41 -0400
commitd685c5c27ad433afa35c7627070c1fcdbde160ee (patch)
treed78375ed92b7b1da61128c540230c862bd61cc02 /tests
parent9d5a487c36f2cf7823021afa96b8d9ead9eb5ff7 (diff)
downloadpython-coveragepy-d685c5c27ad433afa35c7627070c1fcdbde160ee.tar.gz
Get test_html working under OS X when run from a venv. Thank, Brett Cannon.
Diffstat (limited to 'tests')
-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 40852ac..eff3ca3 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