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’]. exitboolFlag indicating whether the test runner should exist when finished. Returns intThe status code from the test run if exit is False.