summaryrefslogtreecommitdiff
path: root/test/test_api.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-05-15 23:03:52 -0400
committerNed Batchelder <ned@nedbatchelder.com>2010-05-15 23:03:52 -0400
commitf0b3451e829de7311c39a18c0fb34312330981ef (patch)
tree18d749a0434445f0316ecc7b641739b2796e268b /test/test_api.py
parent4fb69b6c13c00bba910afe9d6beade673f4e4386 (diff)
downloadpython-coveragepy-git-f0b3451e829de7311c39a18c0fb34312330981ef.tar.gz
Format the code to pylint's liking, and fix up the docstrings for omit and include.
Diffstat (limited to 'test/test_api.py')
-rw-r--r--test/test_api.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_api.py b/test/test_api.py
index 4580645b..aaae89cb 100644
--- a/test/test_api.py
+++ b/test/test_api.py
@@ -273,6 +273,8 @@ class ApiTest(CoverageTest):
cov.report()
class OmitIncludeTest(CoverageTest):
+ """Test using omit_prefixes and include_prefixes when measuring code."""
+
def test_nothing_specified(self):
self.make_file("a.py", """\
a = 1
@@ -281,7 +283,7 @@ class OmitIncludeTest(CoverageTest):
import a
b = 1
""")
-
+
cov = coverage.coverage()
cov.start()
self.import_module("b")