##// END OF EJS Templates
Merge pull request #13290 from fasiha/sphinxify-contextual-help...
Merge pull request #13290 from fasiha/sphinxify-contextual-help Use sphinxify (if available) in object_inspect_mime path

File last commit:

r27078:d71d4265
r27096:38c7394b 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