diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2013-08-14 08:10:41 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2013-08-14 08:10:41 -0400 |
commit | ee6cee12f0be1ea3b35ed945a1c275e569941c62 (patch) | |
tree | e346673aa2260dea50cd404e95018c81d77907fd | |
parent | b97456e8199980f4db4ac3722beea70d02d736ff (diff) | |
download | python-coveragepy-git-ee6cee12f0be1ea3b35ed945a1c275e569941c62.tar.gz |
Get test_html working under OS X when run from a venv. Thank, Brett Cannon.
-rw-r--r-- | tests/test_html.py | 1 |
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 |