summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-05-24 00:00:51 -0400
committerNed Batchelder <ned@nedbatchelder.com>2010-05-24 00:00:51 -0400
commit403b014f4900beab6646bdcf6334d9db25ceb99b (patch)
tree82d72cd6e20a5db7c79a9ab84ba9c05862458ed1
parenta11382970ed8bb3e9a222e3a94c14df525ea8cdf (diff)
downloadpython-coveragepy-403b014f4900beab6646bdcf6334d9db25ceb99b.tar.gz
Update our own covcov.ini to properly omit files the new way.
-rw-r--r--covcov.ini2
-rw-r--r--test/test_api.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/covcov.ini b/covcov.ini
index 9e1733f..8b984f1 100644
--- a/covcov.ini
+++ b/covcov.ini
@@ -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 7dcfec6..eeeccfd 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()