summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonel Cristian Maries <contact@ionelmc.ro>2015-06-28 23:46:30 +0300
committerIonel Cristian Maries <contact@ionelmc.ro>2015-06-28 23:46:30 +0300
commit1dd32e13a89a3d731b928a015a5f30cf30cd5bcb (patch)
tree3ccb0b102d8d931efabf0510febffcd22dfd76be
parentd42bc6cae5911ecb1b64c8c98d8e7acee9e4b074 (diff)
downloadpython-coveragepy-git-1dd32e13a89a3d731b928a015a5f30cf30cd5bcb.tar.gz
Correct comment
-rw-r--r--tests/test_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index 1667c5f4..30690362 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)