o
    g                     @   sD   d dl Z d dlZd dlZd dlZd dlZdd Zdd Zdd ZdS )    Nc                   C   s   ddksJ d S )N    r   r   r   Y/home/ubuntu/cloudmapper/venv/lib/python3.10/site-packages/matplotlib/tests/test_basic.pytest_simple   s   r   c                     sF   dd l  h d}  fddh t h tt@ D }|| ks!J d S )Nr   >	   allanysumdivmod__doc____name____spec__
__loader____package__c                    s$   h | ]}t  |t t|kr|qS r   )getattrbuiltins).0keypylabr   r   	<setcomp>   s    z)test_override_builtins.<locals>.<setcomp>)r   dirr   )ok_to_override
overriddenr   r   r   test_override_builtins   s   &r   c                  C   s6   t d} tjtjd| gi tjdtjdd d S )Na9  
    import sys

    import matplotlib.figure
    import matplotlib.backend_bases
    import matplotlib.pyplot

    assert 'matplotlib._tri' not in sys.modules
    assert 'matplotlib._qhull' not in sys.modules
    assert 'matplotlib._contour' not in sys.modules
    assert 'urllib.request' not in sys.modules
    z-c )
MPLBACKENDMATPLOTLIBRC)env)	textwrapdedent
subprocess
check_callsys
executableosenvirondevnull)sourcer   r   r   test_lazy_imports   s
   


r(   )r   r$   r    r"   r   r   r   r(   r   r   r   r   <module>   s    