From 403b014f4900beab6646bdcf6334d9db25ceb99b Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 24 May 2010 00:00:51 -0400 Subject: Update our own covcov.ini to properly omit files the new way. --- covcov.ini | 2 +- test/test_api.py | 2 +- 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() -- cgit v1.2.1