Show More
@@ -20,13 +20,10 b' import shutil' | |||||
20 | import IPython |
|
20 | import IPython | |
21 | from IPython.utils.tempdir import TemporaryDirectory |
|
21 | from IPython.utils.tempdir import TemporaryDirectory | |
22 | from IPython.utils.process import get_output_error_code |
|
22 | from IPython.utils.process import get_output_error_code | |
23 |
from IPython. |
|
23 | from IPython.testing.tools import get_ipython_cmd | |
24 |
|
24 | |||
25 | # Define ipython command line name |
|
25 | # a trailing space allows for simpler concatenation with the other arguments | |
26 | if py3compat.PY3: |
|
26 | ipy_cmd = get_ipython_cmd(as_string=True) + " " | |
27 | ipy_cmd = 'ipython3 ' |
|
|||
28 | else: |
|
|||
29 | ipy_cmd = 'ipython ' |
|
|||
30 |
|
27 | |||
31 | #----------------------------------------------------------------------------- |
|
28 | #----------------------------------------------------------------------------- | |
32 | # Classes and functions |
|
29 | # Classes and functions |
General Comments 0
You need to be logged in to leave comments.
Login now