U
    9%er                     @   s<   d dl mZ d dlmZ dd Zdd Zdd Zd	d
 ZdS )    )import_module)warnsc                  C   s8   ddl } tddddgidtfd}|r4| |j ks4tdS )	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_versionZcatchr   r   RuntimeErrorAssertionErrorr   r    r   d/var/www/html/Darija-Ai-API/env/lib/python3.8/site-packages/sympy/external/tests/test_importtools.pytest_no_stdlib_collections   s    
 r   c                  C   s6   ddl } tdddgidtfd}|r2| |j ks2tdS )r   r   Nr   r   r   r	   r
   r   r   r   r   r   test_no_stdlib_collections2   s     r   c                  C   s4   ddl } tddddgidd}|r0| |j ks0tdS )	z4make sure we get the right collections with no catchr   Nr   r   r   r   r	   )r   r   )r   r   r   r   r   r   r   test_no_stdlib_collections3   s    
r   c                	   C   s$   t t tddd W 5 Q R X d S )NZmpmathz1000.0.1)r   )r   UserWarningr   r   r   r   r   0test_min_module_version_python3_basestring_error&   s    
r   N)Zsympy.externalr   Zsympy.testing.pytestr   r   r   r   r   r   r   r   r   <module>   s
   	