diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2010-05-15 23:03:52 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-05-15 23:03:52 -0400 |
commit | f0b3451e829de7311c39a18c0fb34312330981ef (patch) | |
tree | 18d749a0434445f0316ecc7b641739b2796e268b /test/test_api.py | |
parent | 4fb69b6c13c00bba910afe9d6beade673f4e4386 (diff) | |
download | python-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.py | 4 |
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") |