summaryrefslogtreecommitdiff
path: root/tests/backtest.py
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
commitf859f95e5988d88b580afdb7771f03a8ff612411 (patch)
tree1035e9806190e04efb3a48d952d19f649615c5d3 /tests/backtest.py
parentebc42980c8dd2d88bd80252330678b4b4ea8d86b (diff)
downloadpython-coveragepy-git-f859f95e5988d88b580afdb7771f03a8ff612411.tar.gz
I guess that was too modern. Need to define execfile in this module.
Diffstat (limited to 'tests/backtest.py')
-rw-r--r--tests/backtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/backtest.py b/tests/backtest.py
index de15c80c..89a25536 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."""