summaryrefslogtreecommitdiff
path: root/tests/backtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/backtest.py')
-rw-r--r--tests/backtest.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/backtest.py b/tests/backtest.py
deleted file mode 100644
index 05681dc7..00000000
--- a/tests/backtest.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
-# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
-
-"""Add things to old Pythons so I can pretend they are newer, for tests."""
-
-# No more execfile in Py3
-try:
- execfile = execfile
-except NameError:
- def execfile(filename, globs):
- """A Python 3 implementation of execfile."""
- with open(filename) as fobj:
- code = fobj.read()
- exec(compile(code, filename, 'exec'), globs)