diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2014-09-28 18:42:30 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-09-28 18:42:30 -0400 |
| commit | 4de55988b9c873626712db0b83c494be246409a6 (patch) | |
| tree | 2a8c0a12f0560da62182379c64c2d4244ea38e4c /tests | |
| parent | 34cbac69384957a1a41667d0c3ea098f70993cc9 (diff) | |
| download | python-coveragepy-4de55988b9c873626712db0b83c494be246409a6.tar.gz | |
Remove support for COVERAGE_OPTIONS environment variable.
Diffstat (limited to 'tests')
| -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 d4e69a4..99155b8 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") |
