statsmodels.__init__.test

statsmodels.__init__.test(extra_args=None, exit=False)[source]

Run the test suite

Parameters:
extra_argslist[str]

List of argument to pass to pytest when running the test suite. The default is [’–tb=short’, ‘–disable-pytest-warnings’].

exitbool

Flag indicating whether the test runner should exit when finished.

Returns:
int

The status code from the test run if exit is False.


Last update: Nov 14, 2024