a
    é´«j¶  ã                   @  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
d„ZdgZdS )z6
Entrypoint for testing from the top-level namespace.
é    )ÚannotationsN)Úimport_optional_dependencyFzlist[str] | NoneÚboolÚNone)Ú
extra_argsÚrun_doctestsÚreturnc                 C  s‚   t dƒ}t dƒ dg}| r.t| tƒs*| g} | }|rLdddtj td¡› �g}|tg7 }d |¡}td	|› �ƒ t 	| 
|¡¡ d
S )a.  
    Run the pandas test suite using pytest.

    By default, runs with the marks -m "not slow and not network and not db"

    Parameters
    ----------
    extra_args : list[str], default None
        Extra marks to run the tests.
    run_doctests : bool, default False
        Whether to only run the Python and Cython doctests. If you would like to run
        both doctests/regular tests, just append "--doctest-modules"/"--doctest-cython"
        to extra_args.

    Examples
    --------
    >>> pd.test()  # doctest: +SKIP
    running: pytest...
    ÚpytestZ
hypothesisz&-m not slow and not network and not dbz--doctest-modulesz--doctest-cythonz	--ignore=Útestsú zrunning: pytest N)r   Ú
isinstanceÚlistÚosÚpathÚjoinÚPKGÚprintÚsysÚexitÚmain)r   r   r	   ÚcmdZjoined© r   úR/var/www/html/laksyashrimp/venv/lib/python3.9/site-packages/pandas/util/_tester.pyÚtest   s     
ý

r   )NF)Ú__doc__Ú
__future__r   r   r   Zpandas.compat._optionalr   r   ÚdirnameÚ__file__r   r   Ú__all__r   r   r   r   Ú<module>   s   '