From e260ec3850115e87413ca290bda92d8b20827315 Mon Sep 17 00:00:00 2001 From: Ferry Boender Date: Tue, 12 Apr 2016 10:09:00 +0200 Subject: [PATCH] Ignore libraries from virtualenv in coverage --- test/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.py b/test/test.py index ae8c568..10c93f1 100644 --- a/test/test.py +++ b/test/test.py @@ -564,7 +564,7 @@ if __name__ == '__main__': filename='test.log', filemode='a') import coverage - cov = coverage.coverage(omit=['*test*', 'main']) + cov = coverage.coverage(omit=['*test*', 'main', '*/lib/python*']) cov.start() sys.path.insert(0, '../src')