##// END OF EJS Templates
Fix bug where python -c "import IPython; IPython.test()" could fail....
Fernando Perez -
Show More
@@ -199,8 +199,8 b' class IPTester(object):'
199 # Script not installed (may be the case for testing situations
199 # Script not installed (may be the case for testing situations
200 # that are running from a source tree only), pull from internal
200 # that are running from a source tree only), pull from internal
201 # path:
201 # path:
202 iptest_path = pjoin(genutils.get_ipython_package_dir(),
202 pak_dir = os.path.abspath(genutils.get_ipython_package_dir())
203 'scripts','iptest')
203 iptest_path = pjoin(pak_dir, 'scripts', 'iptest')
204 self.runner = tools.cmd2argv(iptest_path) + ['-v']
204 self.runner = tools.cmd2argv(iptest_path) + ['-v']
205 else:
205 else:
206 self.runner = tools.cmd2argv(os.path.abspath(find_cmd('trial')))
206 self.runner = tools.cmd2argv(os.path.abspath(find_cmd('trial')))
General Comments 0
You need to be logged in to leave comments. Login now