summaryrefslogtreecommitdiff
path: root/tests/test_summary.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-01-17 16:44:34 -0500
committerNed Batchelder <ned@nedbatchelder.com>2015-01-17 16:44:34 -0500
commita7fc111387f1f782f3404a21c103cac4812f9e74 (patch)
treef8ee2033ab7d6227cb4e42512461aa904b8ab836 /tests/test_summary.py
parenta13742532a3a283f2e690256d38fe5c9ffcf2049 (diff)
downloadpython-coveragepy-git-a7fc111387f1f782f3404a21c103cac4812f9e74.tar.gz
When finding the source for a frame, really check if it exists
Diffstat (limited to 'tests/test_summary.py')
-rw-r--r--tests/test_summary.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_summary.py b/tests/test_summary.py
index 8c9cf6d7..fa5b4461 100644
--- a/tests/test_summary.py
+++ b/tests/test_summary.py
@@ -435,8 +435,8 @@ class SummaryTest(CoverageTest):
report = self.get_report(cov)
self.assertNotIn("NoSource", report)
report = report.splitlines()
- self.assertIn("start 2 0 100%", report)
- self.assertIn("mod 1 0 100%", report)
+ self.assertIn("start.pyw 2 0 100%", report)
+ self.assertIn("mod.pyw 1 0 100%", report)
class SummaryTest2(CoverageTest):