import pytest if __name__ == "__main__": # Run pytest and exit with the appropriate status code pytest.main(["-v", "tests.py"])