summaryrefslogtreecommitdiff
path: root/tests/test_api.py
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
commit51913e855ac9724b74178a658c11af2aa68de0e5 (patch)
treef5bfd0466f0bb40858b6a8f56ca43d89b9ac7dde /tests/test_api.py
parent2976dbac54a99b025167dfe2310e38de7b9a413b (diff)
downloadpython-coveragepy-51913e855ac9724b74178a658c11af2aa68de0e5.tar.gz
Correct comment
Diffstat (limited to 'tests/test_api.py')
-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 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)