Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.12/site-packages/pandas/util/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.12/site-packages/pandas/util/__pycache__/_tester.cpython-312.pyc

�

Mٜg����dZddlmZddlZddlZddlmZejjejje	��Z
ddd�ZdgZy)	z6
Entrypoint for testing from the top-level namespace.
�)�annotationsN)�import_optional_dependencyc�V�td�}td�dg}|rt|t�s|g}|}|r*dddtjjtd���g}|tgz
}dj|�}td	|���tj|j|��y
)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� zrunning: pytest N)r�
isinstance�list�os�path�join�PKG�print�sys�exit�main)�
extra_args�run_doctestsr�cmd�joineds     �>/usr/local/lib/python3.12/site-packages/pandas/util/_tester.py�testrs���((��
1�F��|�,�3�
4�C���*�d�+�$��J������������S�'�2�3�4�
��
�C�5�L�C�
�X�X�c�]�F�	��V�H�
%�&��H�H�V�[�[��
��r)NF)rzlist[str] | Noner�bool�return�None)
�__doc__�
__future__rrr�pandas.compat._optionalrr
�dirname�__file__rr�__all__�rr�<module>r%sF���#�	�
�>��g�g�o�o�b�g�g�o�o�h�/�0��$�N�(�r

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists