From 70a43143744df5cfac7960d909f8551d7f2bcbb6 2023-02-28 22:36:30 From: Emilio Graff <1@emil.io> Date: 2023-02-28 22:36:30 Subject: [PATCH] `warn` -> `print` for consistency --- diff --git a/IPython/terminal/interactiveshell.py b/IPython/terminal/interactiveshell.py index c73acf9..57f7833 100644 --- a/IPython/terminal/interactiveshell.py +++ b/IPython/terminal/interactiveshell.py @@ -914,7 +914,7 @@ class TerminalInteractiveShell(InteractiveShell): active_eventloop = None def enable_gui(self, gui=None): if self._inputhook is not None and gui is not None: - warn( + print( f"Shell was already running a gui event loop for {self.active_eventloop}; switching to {gui}." ) if gui and (gui not in {"inline", "webagg"}):