statsmodels.__init__.test

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

Run the test suite

Parameters

extra_args : list[str]

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

exit : bool

Flag indicating whether the test runner should exist when finished.

Returns

int

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