
    ^h                     .    S r SSKrSSKJr  S rS rS rg)z%Tests for IPython.utils.importstring.    N)import_itemc                  .    SSK n [        S5      nXL d   eg)zTest simple importsr   Nos)r   r   )r   os2s     _/home/james-whalen/.local/lib/python3.13/site-packages/IPython/utils/tests/test_importstring.pytest_import_plainr      s    
d
C99    c                  2    SSK Jn   [        S5      nXL d   eg)z#Test nested imports from the stdlibr   )pathzos.pathN)r   r   r   )r   path2s     r   test_import_nestedr      s    	"E==r	   c                  D    [         R                  " [        [        S5        g)z3Test that failing imports raise the right exceptionzIPython.foobarN)pytestraisesImportErrorr    r	   r   test_import_raisesr   &   s    
MM+{,<=r	   )__doc__r   IPython.utils.importstringr   r   r   r   r   r	   r   <module>r      s    +  2>r	   