From 756894693bb22ffb7213b4a60e850522ae2560eb Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 17 Jan 2015 16:44:34 -0500 Subject: When finding the source for a frame, really check if it exists --- tests/test_summary.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_summary.py') 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): -- cgit v1.2.1