
    wgr                     4    d dl mZ d dlmZ d Zd Zd Zd Zy)    )import_module)warnsc                  d    ddl } t        ddddgidt        f      }|r| |j                   k7  sJ yy)	Y
    make sure we get the right collections when it is not part of a
    larger list
    r   N
matplotlibfromlistcmcollections1.1.0import_kwargsmin_module_versioncatchr
   r   RuntimeErrorr
   r   s     j/home/mcse/projects/flask/flask-venv/lib/python3.12/site-packages/sympy/external/tests/test_importtools.pytest_no_stdlib_collectionsr      sE    
 |!D-#89"</;J j44444     c                  b    ddl } t        dddgidt        f      }|r| |j                   k7  sJ yy)r   r   Nr   r   r
   r   r   r   r   s     r   test_no_stdlib_collections2r      sB    
 |!M?3"</;J j44444 r   c                  X    ddl } t        ddddgid      }|r| |j                   k7  sJ yy)	z4make sure we get the right collections with no catchr   Nr   r   r	   r
   r   )r   r   )r
   r   r   s     r   test_no_stdlib_collections3r      s?    |!D-#89"$J j44444 r   c                  f    t        t              5  t        dd       d d d        y # 1 sw Y   y xY w)Nmpmathz1000.0.1)r   )r   UserWarningr    r   r   0test_min_module_version_python3_basestring_errorr   &   s)    	{	 ?h:>? ? ?s   '0N)sympy.externalr   sympy.testing.pytestr   r   r   r   r   r   r   r   <module>r!      s    ( &
5
55?r   