summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2013-09-28 10:04:27 -0400
committerNed Batchelder <ned@nedbatchelder.com>2013-09-28 10:04:27 -0400
commit702d355f9bd2c218a7932e33fe3f587a8f7e3035 (patch)
treeec6dea096e6482a6766a325ec46855bb7309d1de /tests
parent3ca1ef62249e0e93a34f4638e9ab995207dafc8c (diff)
downloadpython-coveragepy-702d355f9bd2c218a7932e33fe3f587a8f7e3035.tar.gz
I guess that was too modern. Need to define execfile in this module.
Diffstat (limited to 'tests')
-rw-r--r--tests/backtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/backtest.py b/tests/backtest.py
index de15c80..89a2553 100644
--- a/tests/backtest.py
+++ b/tests/backtest.py
@@ -42,7 +42,7 @@ else:
# No more execfile in Py3
try:
- execfile
+ execfile = execfile
except NameError:
def execfile(filename, globs):
"""A Python 3 implementation of execfile."""