##// END OF EJS Templates
Revert "Option for testing local copy, rather than global. Testing needs more work."...
Thomas Kluyver -
Show More
@@ -48,9 +48,6 b' from IPython.utils.io import temp_pyfile'
48 48
49 49 from . import decorators as dec
50 50
51 # Set to True to test ipython.py in the local directory.
52 LOCALTEST = False
53
54 51 #-----------------------------------------------------------------------------
55 52 # Globals
56 53 #-----------------------------------------------------------------------------
@@ -203,10 +200,7 b' def ipexec(fname, options=None):'
203 200 _ip = get_ipython()
204 201 test_dir = os.path.dirname(__file__)
205 202
206 if LOCALTEST:
207 ipython_cmd = os.path.join(os.getcwd(),'ipython.py')
208 else:
209 ipython_cmd = find_cmd('ipython')
203 ipython_cmd = find_cmd('ipython')
210 204 # Absolute path for filename
211 205 full_fname = os.path.join(test_dir, fname)
212 206 full_cmd = '%s %s %s' % (ipython_cmd, cmdargs, full_fname)
General Comments 0
You need to be logged in to leave comments. Login now