summaryrefslogtreecommitdiff
path: root/test/test_farm.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-12-27 20:53:31 -0500
committerNed Batchelder <ned@nedbatchelder.com>2009-12-27 20:53:31 -0500
commitcd1929b269118e6f335aea74165e9366b3c3ac42 (patch)
tree61be090f081854cce5f0dadba9f761578c2deeab /test/test_farm.py
parent291ec95b6c17c28371280e7dcde58b1cc9dd6a82 (diff)
downloadpython-coveragepy-git-cd1929b269118e6f335aea74165e9366b3c3ac42.tar.gz
The reload builtin moved in Py3k.
Diffstat (limited to 'test/test_farm.py')
-rw-r--r--test/test_farm.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_farm.py b/test/test_farm.py
index 8f7d5712..006a1fb1 100644
--- a/test/test_farm.py
+++ b/test/test_farm.py
@@ -3,7 +3,7 @@
import difflib, filecmp, fnmatch, glob, os, re, shutil, sys
sys.path.insert(0, os.path.split(__file__)[0]) # Force relative import for Py3k
-from backtest import run_command, execfile # pylint: disable-msg=W0622
+from backtest import run_command, execfile, reload # pylint: disable-msg=W0622
def test_farm(clean_only=False):
@@ -75,6 +75,8 @@ class FarmTestCase(object):
if self.dont_clean:
glo['clean'] = self.noop
+ glo['reload'] = reload
+
try:
execfile(self.runpy, glo)
finally: