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
commitfc920203f8ec8b87c331a9da091e82645a2e9b43 (patch)
treee7de67e634852f41259ef953b3b7041d88af0b5b /test/test_api.py
parent8951e029c5c96ede37c6bb82344d5029c1622575 (diff)
downloadpython-coveragepy-fc920203f8ec8b87c331a9da091e82645a2e9b43.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 4580645..aaae89c 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")