Format: application/x-python-code
⬇ Download File (959 B)
   1  o
   2  
   3  ��h��@s4dZddlZddlmZdd�Zdd�Zdd	�ZdS)
   4  z%Tests for IPython.utils.importstring.�N)�import_itemcCs ddl}td�}||usJ�dS)zTest simple importsrN�os)rr)rZos2�r�[c:\Users\shubh\Videos\agent\nova\Lib\site-packages\IPython/utils/tests/test_importstring.py�test_import_plainsrcCs$ddlm}td�}||usJ�dS)z#Test nested imports from the stdlibr)�pathzos.pathN)rrr)rZpath2rrr�test_import_nestedsrcCst�ttd�dS)z3Test that failing imports raise the right exceptionzIPython.foobarN)�pytestZraises�ImportErrorrrrrr�test_import_raises&sr)�__doc__r	ZIPython.utils.importstringrrrrrrrr�<module>s
   5