diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2010-06-23 22:30:35 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-06-23 22:30:35 -0400 |
commit | 8ecf012d6bc4061cca7471b32f86ef5efa871ac0 (patch) | |
tree | d2915ecafaa9deca02b4822bae3b2538783671f9 /test/backtest.py | |
parent | d0755b95a5f3c1745a20644d4c0703bc639e518d (diff) | |
download | python-coveragepy-8ecf012d6bc4061cca7471b32f86ef5efa871ac0.tar.gz |
Move the warnings to get them in more cases, and test one of those cases.
Diffstat (limited to 'test/backtest.py')
-rw-r--r-- | test/backtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/backtest.py b/test/backtest.py index 05a1e14..e8d8366 100644 --- a/test/backtest.py +++ b/test/backtest.py @@ -18,6 +18,7 @@ except ImportError: """ _, stdouterr = os.popen4(cmd) return status, stdouterr.read() + else: def run_command(cmd, status=0): """Run a command in a subprocess. @@ -25,7 +26,6 @@ else: Returns the exit status code and the combined stdout and stderr. """ - proc = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT |