o
    jgr                     @   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   s<   ddl } tddddgidtfd}|r| |j ksJ dS 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_versioncatchr   r   RuntimeErrorr   r    r   ]/var/www/html/zoom/venv/lib/python3.10/site-packages/sympy/external/tests/test_importtools.pytest_no_stdlib_collections   s   
r   c                  C   s:   ddl } tdddgidtfd}|r| |j ksJ dS dS )r   r   Nr   r   r   r	   r
   r   r   r   r   r   test_no_stdlib_collections2   s   r   c                  C   s8   ddl } tddddgidd}|r| |j ksJ dS 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   s:   t t tddd W d    d S 1 sw   Y  d S )Nmpmathz1000.0.1)r   )r   UserWarningr   r   r   r   r   0test_min_module_version_python3_basestring_error&   s   
"r   N)sympy.externalr   sympy.testing.pytestr   r   r   r   r   r   r   r   r   <module>   s    	