summaryrefslogtreecommitdiff
path: root/test/test_api.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-11-11 19:44:45 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-11-11 19:44:45 -0500
commit013f326263ef82c97259d6c6b69d0f62278cf3ae (patch)
treea584aac092652cc1bb398120d894a935dc2aa728 /test/test_api.py
parent06b941674b217683db6351fcb9f4fe717a90ef9e (diff)
downloadpython-coveragepy-git-013f326263ef82c97259d6c6b69d0f62278cf3ae.tar.gz
No longer see a mysterious exception when not able to run code: AttributeError: 'NoneType' object has no attribute 'isabs'. #153
Diffstat (limited to 'test/test_api.py')
-rw-r--r--test/test_api.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_api.py b/test/test_api.py
index 4042d0a9..e2ebc656 100644
--- a/test/test_api.py
+++ b/test/test_api.py
@@ -429,6 +429,7 @@ class SourceOmitIncludeTest(OmitIncludeTestsMixin, CoverageTest):
cov.start()
import usepkgs # pylint: disable=F0401,W0612
cov.stop()
+ cov._harvest_data() # private! sshhh...
summary = cov.data.summary()
for k, v in list(summary.items()):
assert k.endswith(".py")