pandas.test#
- pandas.test(extra_args=None, run_doctests=False)[source]#
Run the pandas test suite using pytest.
By default, runs with the marks -m “not slow and not network and not db”
- Parameters:
- extra_argslist[str], default None
Extra marks to run the tests.
- run_doctestsbool, 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.
See also
pytest.main
The main entry point for pytest testing framework.
Examples
>>> pd.test() running: pytest...