From d33fe1f90216e24039d5cbd003219543d1671313 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 28 Sep 2014 18:42:30 -0400 Subject: Remove support for COVERAGE_OPTIONS environment variable. --- tests/farm/run/run_timid.py | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'tests') 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") -- cgit v1.2.1