o
    g                     @  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   U/var/www/html/ecg_monitoring/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    
'