##// END OF EJS Templates
f_locals might not have get
f_locals might not have get

File last commit:

r26999:27a33628
r27017:69c9dab7
Show More
test_shimmodule.py
10 lines | 212 B | text/x-python | PythonLexer
Nikita Kniazev
Make test_shim_warning not fail on unrelated warnings
r26999 import pytest
Min RK
add ShimWarning for shimmed imports...
r21515 import sys
from IPython.utils.shimmodule import ShimWarning
Srinivas Reddy Thatiparthy
remove unused imports
r23701
Min RK
add ShimWarning for shimmed imports...
r21515 def test_shim_warning():
sys.modules.pop('IPython.config', None)
Nikita Kniazev
Make test_shim_warning not fail on unrelated warnings
r26999 with pytest.warns(ShimWarning):
Min RK
add ShimWarning for shimmed imports...
r21515 import IPython.config