Ignore libraries from virtualenv in coverage

pull/7/head
Ferry Boender 9 years ago
parent 7470249d53
commit e260ec3850
  1. 2
      test/test.py

@ -564,7 +564,7 @@ if __name__ == '__main__':
filename='test.log', filename='test.log',
filemode='a') filemode='a')
import coverage import coverage
cov = coverage.coverage(omit=['*test*', 'main']) cov = coverage.coverage(omit=['*test*', 'main', '*/lib/python*'])
cov.start() cov.start()
sys.path.insert(0, '../src') sys.path.insert(0, '../src')

Loading…
Cancel
Save