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 | d33fe1f90216e24039d5cbd003219543d1671313 (patch) | |
tree | bbde25cd2c22e8245e0270f656f3180250a7bfb4 /tests | |
parent | 5de5ff656824bc985f0a31156ffb8e076d178e46 (diff) | |
download | python-coveragepy-git-d33fe1f90216e24039d5cbd003219543d1671313.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 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") |