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/farm | |
| parent | ad4c7f3a5194f6966454d534f02e6b02633fa370 (diff) | |
| parent | cd015c45c278aca757263746ed2e64c46d578ddd (diff) | |
| download | python-coveragepy-git-17c94a9f94916ba892f7ef0518881776d6b55d66.tar.gz | |
Merged pull request #18 manually
Diffstat (limited to 'tests/farm')
| -rw-r--r-- | tests/farm/run/run_timid.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/farm/run/run_timid.py b/tests/farm/run/run_timid.py index d4e69a46..99155b85 100644 --- a/tests/farm/run/run_timid.py +++ b/tests/farm/run/run_timid.py @@ -37,24 +37,4 @@ else: # also show the Python function. contains("out/showtraceout.txt", "regular PyTracer") -# Try the environment variable. -old_opts = os.environ.get('COVERAGE_OPTIONS') -os.environ['COVERAGE_OPTIONS'] = '--timid' - -run(""" - coverage run showtrace.py regular - coverage run --timid showtrace.py timid - """, rundir="out", outfile="showtraceout.txt") - -contains("out/showtraceout.txt", - "none None", - "timid PyTracer", - "regular PyTracer", - ) - -if old_opts: - os.environ['COVERAGE_OPTIONS'] = old_opts -else: - del os.environ['COVERAGE_OPTIONS'] - clean("out") |
