Use absolute path to iptest, because the tests are not always run from $IPYTHONDIR.

Victor Zverovich 13 years ago
parent 0c11e07148
commit 99eedefa41

@ -340,7 +340,7 @@ class IPTester(object):
"""Create new test runner."""
p = os.path
if runner == 'iptest':
iptest_app = get_ipython_module_path('IPython.testing.iptest')
iptest_app = os.path.abspath(get_ipython_module_path('IPython.testing.iptest'))
self.runner = pycmd2argv(iptest_app) + sys.argv[1:]
else:
raise Exception('Not a valid test runner: %s' % repr(runner))

Loading…
Cancel
Save