diff options
-rw-r--r-- | covcov.ini | 2 | ||||
-rw-r--r-- | test/test_api.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -12,5 +12,5 @@ exclude_lines = if __name__ == .__main__.:
raise AssertionError
-omit = mock, ez_setup, distribute
+omit = mock.py, ez_setup.py, distribute.py
ignore_errors = true
diff --git a/test/test_api.py b/test/test_api.py index 7dcfec60..eeeccfd5 100644 --- a/test/test_api.py +++ b/test/test_api.py @@ -335,7 +335,7 @@ class OmitIncludeTest(CoverageTest): b = 1 """) - cov = coverage.coverage(include=["a*"], omit=["aa.py"]) #TODO: use some patterns + cov = coverage.coverage(include=["a*"], omit=["aa.py"]) cov.start() self.import_module("ab") cov.stop() |