##// END OF EJS Templates
remove last bits of pre-38 codepath....
remove last bits of pre-38 codepath. Closes #13316

File last commit:

r27078:d71d4265
r27154:b835cc1d
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