o
    Û­j¶  ã                   @  sV   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„ZdgZdS )z6
Entrypoint for testing from the top-level namespace.
é    )ÚannotationsN)Úimport_optional_dependencyFÚ
extra_argsúlist[str] | NoneÚrun_doctestsÚboolÚreturnÚNonec                 C  s‚   t dƒ}t dƒ dg}| rt| tƒs| g} | }|r&d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...
    ÚpytestÚ
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
   ÚcmdÚjoined© r   úP/var/www/html/CropPilot/venv/lib/python3.10/site-packages/pandas/util/_tester.pyÚtest   s    
ý

r   )NF)r   r   r   r   r   r	   )Ú__doc__Ú
__future__r   r   r   Úpandas.compat._optionalr   r   ÚdirnameÚ__file__r   r   Ú__all__r   r   r   r   Ú<module>   s    
'