Source code for pandas_plink._testit

[docs]def test(verbose=True): """ Run tests to verify this package's integrity. Parameters ---------- verbose : bool ``True`` to show diagnostic. Defaults to ``True``. Returns ------- int Exit code: ``0`` for success. """ from .conftest import setup_tests_baseline setup_tests_baseline() args = ["--doctest-modules"] if not verbose: args += ["--quiet"] args += ["--pyargs", __name__.split(".")[0]] return __import__("pytest").main(args)