From 51913e855ac9724b74178a658c11af2aa68de0e5 Mon Sep 17 00:00:00 2001 From: Ionel Cristian Maries Date: Sun, 28 Jun 2015 23:46:30 +0300 Subject: Correct comment --- tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_api.py') diff --git a/tests/test_api.py b/tests/test_api.py index 1667c5f..3069036 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -243,7 +243,7 @@ class ApiTest(CoverageTest): self.assertFiles(["datatest4.py", ".coveragerc", "mydata.dat"]) def test_empty_reporting(self): - # Used to be you'd get an exception reporting on nothing... + # empty summary reports raise exception, just like the xml report cov = coverage.coverage() cov.erase() self.assertRaises(CoverageException, cov.report) -- cgit v1.2.1