##// END OF EJS Templates
Use absolute path to iptest, because the tests are not always run from $IPYTHONDIR.
Victor Zverovich -
Show More
@@ -340,7 +340,7 b' class IPTester(object):'
340 """Create new test runner."""
340 """Create new test runner."""
341 p = os.path
341 p = os.path
342 if runner == 'iptest':
342 if runner == 'iptest':
343 iptest_app = get_ipython_module_path('IPython.testing.iptest')
343 iptest_app = os.path.abspath(get_ipython_module_path('IPython.testing.iptest'))
344 self.runner = pycmd2argv(iptest_app) + sys.argv[1:]
344 self.runner = pycmd2argv(iptest_app) + sys.argv[1:]
345 else:
345 else:
346 raise Exception('Not a valid test runner: %s' % repr(runner))
346 raise Exception('Not a valid test runner: %s' % repr(runner))
General Comments 0
You need to be logged in to leave comments. Login now