##// END OF EJS Templates
Add deprecationwarning with stacklevel
Sourav Singh -
Show More
@@ -7,6 +7,6 b' Shim to maintain backwards compatibility with old IPython.consoleapp imports.'
7 from warnings import warn
7 from warnings import warn
8
8
9 warn("The `IPython.consoleapp` package has been deprecated. "
9 warn("The `IPython.consoleapp` package has been deprecated. "
10 "You should import from jupyter_client.consoleapp instead.")
10 "You should import from jupyter_client.consoleapp instead.", DeprecationWarning, stacklevel=2)
11
11
12 from jupyter_client.consoleapp import *
12 from jupyter_client.consoleapp import *
General Comments 0
You need to be logged in to leave comments. Login now