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
commit756894693bb22ffb7213b4a60e850522ae2560eb (patch)
tree52cbb12fefc036c4fa0c536996175db456b0aeb3 /tests/test_summary.py
parentbd6779fe14f753e9062d20235d595762e7afd8b2 (diff)
downloadpython-coveragepy-756894693bb22ffb7213b4a60e850522ae2560eb.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 8c9cf6d..fa5b446 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):