[python-bugzilla] [PATCH 2/3] Ignore tox environment files in coverage
abn at redhat.com
abn at redhat.com
Tue Dec 17 15:56:35 UTC 2013
From: Arun Babu Neelicattu <abn at redhat.com>
---
setup.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 6abd9b0..9f45fe9 100755
--- a/setup.py
+++ b/setup.py
@@ -49,7 +49,8 @@ class TestCommand(Command):
usecov = False
if usecov:
- cov = coverage.coverage(omit=["/*/tests/*", "/usr/*", "*dev-env*"])
+ cov = coverage.coverage(omit=[
+ "/*/tests/*", "/usr/*", "*dev-env*", "*.tox/*"])
cov.erase()
cov.start()
--
1.8.3.1
More information about the python-bugzilla
mailing list