diff options
Diffstat (limited to 'test/backtest.py')
-rw-r--r-- | test/backtest.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/backtest.py b/test/backtest.py index 4460a78d..656b35c7 100644 --- a/test/backtest.py +++ b/test/backtest.py @@ -47,3 +47,9 @@ except NameError: def execfile(filename, globs): """A Python 3 implementation of execfile.""" exec(compile(open(filename).read(), filename, 'exec'), globs) + +# reload moved in Py3k +try: + from imp import reload +except: + reload = reload |