HOME


sh-3ll 1.0
DIR:/opt/cloudlinux/venv/lib/python3.11/site-packages/pandas/util/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/pandas/util/__pycache__/_tester.cpython-311.pyc
�

���h����dZddlmZddlZddlZddlmZej�ej�e	����Z
ddd�Zd
gZdS)z6
Entrypoint for testing from the top-level namespace.
�)�annotationsN)�import_optional_dependencyF�
extra_args�list[str] | None�run_doctests�bool�return�Nonec��td��}td��dg}|rt|t��s|g}|}|r+dddtj�td����g}|tgz
}d�|��}td	|����tj	|�
|����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� zrunning: pytest N)r�
isinstance�list�os�path�join�PKG�print�sys�exit�main)rrr�cmd�joineds     �J/opt/cloudlinux/venv/lib64/python3.11/site-packages/pandas/util/_tester.py�testrs���((��
1�
1�F��|�,�,�,�3�
4�C����*�d�+�+�	&�$��J����
���4�����S�'�2�2�4�4�
��
�C�5�L�C�
�X�X�c�]�]�F�	�
%�V�
%�
%�&�&�&��H�V�[�[��
�
������r)NF)rrrrr	r
)
�__doc__�
__future__rrr�pandas.compat._optionalrr�dirname�__file__rr�__all__�rr�<module>r&s�����#�"�"�"�"�"�	�	�	�	�
�
�
�
�>�>�>�>�>�>��g�o�o�b�g�o�o�h�/�/�0�0��$�$�$�$�$�N�(���r