a
    khr                     @   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s4J 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r   r    r   S/var/www/auris/lib/python3.9/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s2J 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s0J 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   test_no_stdlib_collections3   s    
r   c                   C   s8   t t tddd W d    n1 s*0    Y  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
   	