diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2010-05-24 00:00:51 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-05-24 00:00:51 -0400 |
commit | c49fc1a261e47d5eabea8575c3a303cd5dd367ee (patch) | |
tree | 34e53f32c5048ce41085494089516542e740b457 | |
parent | fcb7f586cb6f55de5832f338cc6b3252b27d284b (diff) | |
download | python-coveragepy-git-c49fc1a261e47d5eabea8575c3a303cd5dd367ee.tar.gz |
Update our own covcov.ini to properly omit files the new way.
-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() |