##// END OF EJS Templates
Merge pull request #13354 from Carreau/remove-50.deprecations...
Merge pull request #13354 from Carreau/remove-50.deprecations remove code deprecated since at least IPython 5.0

File last commit:

r27078:d71d4265
r27207:6f31cfb7 merge
Show More
test_shimmodule.py
14 lines | 302 B | text/x-python | PythonLexer
import pytest
import sys
from IPython.utils.shimmodule import ShimWarning
def test_shim_warning():
sys.modules.pop('IPython.config', None)
with pytest.warns(ShimWarning):
import IPython.config
import traitlets.config
assert IPython.config.Config is traitlets.config.Config