##// END OF EJS Templates
Merge pull request #13327 from Carreau/less-37-II...
Merge pull request #13327 from Carreau/less-37-II More cleanup of pre-3.8 codepath

File last commit:

r27078:d71d4265
r27153:cdf82096 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