diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2014-10-20 18:37:46 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-10-20 18:37:46 -0400 |
| commit | 17c94a9f94916ba892f7ef0518881776d6b55d66 (patch) | |
| tree | 51a7eda6cf8d9e61adcb3ca791f9917065125085 /tests/test_collector.py | |
| parent | ad4c7f3a5194f6966454d534f02e6b02633fa370 (diff) | |
| parent | cd015c45c278aca757263746ed2e64c46d578ddd (diff) | |
| download | python-coveragepy-git-17c94a9f94916ba892f7ef0518881776d6b55d66.tar.gz | |
Merged pull request #18 manually
Diffstat (limited to 'tests/test_collector.py')
| -rw-r--r-- | tests/test_collector.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_collector.py b/tests/test_collector.py index 7bd4bebb..5f931385 100644 --- a/tests/test_collector.py +++ b/tests/test_collector.py @@ -37,9 +37,8 @@ class CollectorTest(CoverageTest): # Trace one file, but not the other, and get the debug output. debug_out = StringIO() - cov = coverage.coverage( - include=["f1.py"], debug=['trace'], debug_file=debug_out - ) + cov = coverage.coverage(include=["f1.py"], debug=['trace']) + cov._debug_file = debug_out # Import the python file, executing it. self.start_import_stop(cov, "f2") |
