diff options
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -24,8 +24,7 @@ class TestsWithCoverage(test, object): | |||
24 | 24 | ||
25 | from coverage import coverage | 25 | from coverage import coverage |
26 | 26 | ||
27 | cov = coverage(data_file=".coverage", branch=True, | 27 | cov = coverage(source=self.distribution.packages) |
28 | source=self.distribution.packages) | ||
29 | cov.start() | 28 | cov.start() |
30 | 29 | ||
31 | # Unittest calls exit prior to python 3. How naughty | 30 | # Unittest calls exit prior to python 3. How naughty |
@@ -35,7 +34,7 @@ class TestsWithCoverage(test, object): | |||
35 | pass | 34 | pass |
36 | 35 | ||
37 | cov.stop() | 36 | cov.stop() |
38 | cov.xml_report(outfile="coverage.xml") | 37 | cov.xml_report() |
39 | cov.html_report() | 38 | cov.html_report() |
40 | 39 | ||
41 | 40 | ||