diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2010-03-13 19:59:48 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-03-13 19:59:48 -0500 |
commit | f3ed4653b327d5dbd71d7e9f646b0a3ab067cb13 (patch) | |
tree | 99f2ca08f258eca288c599c246d40d52f77b536b /test/backtest.py | |
parent | 0182926a873072d7062b8db17c15d345e8054193 (diff) | |
parent | 24bdb1797bc8a29f28d5f7796fc0ffed1cf5c668 (diff) | |
download | python-coveragepy-git-f3ed4653b327d5dbd71d7e9f646b0a3ab067cb13.tar.gz |
Merge Ben Finney's use-os-path-module fixes.
Diffstat (limited to 'test/backtest.py')
-rw-r--r-- | test/backtest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/backtest.py b/test/backtest.py index 12bdbc97..58b16474 100644 --- a/test/backtest.py +++ b/test/backtest.py @@ -29,7 +29,8 @@ else: if sys.hexversion > 0x03000000 and cmd.startswith("coverage "): # We don't have a coverage command on 3.x, so fix it up to call the # script. Eventually we won't need this. - cmd = "python " + sys.prefix + os.sep + "Scripts" + os.sep + cmd + script_path = os.path.join(sys.prefix, "Scripts", cmd) + cmd = "python " + script_path proc = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, |