From d685c5c27ad433afa35c7627070c1fcdbde160ee Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 14 Aug 2013 08:10:41 -0400 Subject: Get test_html working under OS X when run from a venv. Thank, Brett Cannon. --- tests/test_html.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.1