##// END OF EJS Templates
Second attempt to fix init_io readline test.
Brian Granger -
Show More
@@ -426,8 +426,7 b' class InteractiveShell(Configurable, Magic):'
426
426
427 def init_io(self):
427 def init_io(self):
428 import IPython.utils.io
428 import IPython.utils.io
429 if sys.platform == 'win32' and readline.have_readline and \
429 if sys.platform == 'win32' and self.has_readline:
430 self.readline_use:
431 Term = IPython.utils.io.IOTerm(
430 Term = IPython.utils.io.IOTerm(
432 cout=readline._outputfile,cerr=readline._outputfile
431 cout=readline._outputfile,cerr=readline._outputfile
433 )
432 )
@@ -1421,7 +1420,7 b' class InteractiveShell(Configurable, Magic):'
1421
1420
1422 if self.readline_use:
1421 if self.readline_use:
1423 import IPython.utils.rlineimpl as readline
1422 import IPython.utils.rlineimpl as readline
1424
1423
1425 self.rl_next_input = None
1424 self.rl_next_input = None
1426 self.rl_do_indent = False
1425 self.rl_do_indent = False
1427
1426
General Comments 0
You need to be logged in to leave comments. Login now