##// END OF EJS Templates
`warn` -> `print` for consistency
Emilio Graff -
Show More
@@ -914,7 +914,7 b' class TerminalInteractiveShell(InteractiveShell):'
914 active_eventloop = None
914 active_eventloop = None
915 def enable_gui(self, gui=None):
915 def enable_gui(self, gui=None):
916 if self._inputhook is not None and gui is not None:
916 if self._inputhook is not None and gui is not None:
917 warn(
917 print(
918 f"Shell was already running a gui event loop for {self.active_eventloop}; switching to {gui}."
918 f"Shell was already running a gui event loop for {self.active_eventloop}; switching to {gui}."
919 )
919 )
920 if gui and (gui not in {"inline", "webagg"}):
920 if gui and (gui not in {"inline", "webagg"}):
General Comments 0
You need to be logged in to leave comments. Login now