##// END OF EJS Templates
Readd warning at import time.
Matthias Bussonnier -
Show More
@@ -21,6 +21,11 b' from distutils.version import LooseVersion as V'
21
21
22 from warnings import warn
22 from warnings import warn
23
23
24
25 warn("`IPython.lib.inputhook` is deprecated since IPython 5.0 and will be removed in future versions.",
26 DeprecationWarning, stacklevel=2)
27
28
24 #-----------------------------------------------------------------------------
29 #-----------------------------------------------------------------------------
25 # Constants
30 # Constants
26 #-----------------------------------------------------------------------------
31 #-----------------------------------------------------------------------------
@@ -364,9 +364,6 b' def run_iptest():'
364 if '--with-xunit' in sys.argv and not hasattr(Xunit, 'orig_addError'):
364 if '--with-xunit' in sys.argv and not hasattr(Xunit, 'orig_addError'):
365 monkeypatch_xunit()
365 monkeypatch_xunit()
366
366
367 warnings.filterwarnings('ignore',
368 'This will be removed soon. Use IPython.testing.util instead')
369
370 arg1 = sys.argv[1]
367 arg1 = sys.argv[1]
371 if arg1 in test_sections:
368 if arg1 in test_sections:
372 section = test_sections[arg1]
369 section = test_sections[arg1]
General Comments 0
You need to be logged in to leave comments. Login now