From 99eedefa41443a36eeae020f64ef1ee2dd2d6e7e Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 29 Jun 2013 07:36:28 -0700 Subject: [PATCH] Use absolute path to iptest, because the tests are not always run from $IPYTHONDIR. --- IPython/testing/iptest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/testing/iptest.py b/IPython/testing/iptest.py index 2c93f5fdd..3f8deccbe 100644 --- a/IPython/testing/iptest.py +++ b/IPython/testing/iptest.py @@ -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))