Skip to content

Commit

Permalink
Educated attempt at disabling the annoying 'Coverage.py warning: No d…
Browse files Browse the repository at this point in the history
…ata was collected.' warning that coverage likes to omit
  • Loading branch information
CleanCut committed Jun 25, 2015
1 parent fe8f5af commit 8796ca4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions green/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ def poolRunner(test_name, coverage_number=None, omit_patterns=[]): # pragma: no
data_file='.coverage.{}_{}'.format(
coverage_number, random.randint(0, 10000)),
omit=omit_patterns)
cov._warn_no_data = False
cov.start()

# Create a structure to return the results of this one test
Expand Down

0 comments on commit 8796ca4

Please sign in to comment.