##// END OF EJS Templates
darker
darker

File last commit:

r26999:27a33628
r27081:5e3d218f
Show More
test_shimmodule.py
10 lines | 212 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