U
    ¿mœdµ  ã                   @  s\   d Z ddlmZ ddlZddlZddlmZ ej ej e	¡¡Z
d
dddœdd	„Zd	gZdS )z6
Entrypoint for testing from the top-level namespace.
é    )ÚannotationsN)Úimport_optional_dependencyzlist[str] | NoneÚNone)Ú
extra_argsÚreturnc                 C  sh   t dƒ}t dƒ dddg}| r2t| tƒs.| g} | }|tg7 }d |¡}td|› �ƒ t | |¡¡ dS )	zë
    Run the pandas test suite using pytest.

    By default, runs with the marks --skip-slow, --skip-network, --skip-db

    Parameters
    ----------
    extra_args : list[str], default None
        Extra marks to run the tests.
    ÚpytestZ
hypothesisz--skip-slowz--skip-networkz	--skip-dbú zrunning: pytest N)	r   Ú
isinstanceÚlistÚPKGÚjoinÚprintÚsysÚexitÚmain)r   r   ÚcmdZjoined© r   úL/home/sam/Atlas/atlas_env/lib/python3.8/site-packages/pandas/util/_tester.pyÚtest   s    



r   )N)Ú__doc__Ú
__future__r   Úosr   Zpandas.compat._optionalr   ÚpathÚdirnameÚ__file__r   r   Ú__all__r   r   r   r   Ú<module>   s   