From a6ace16d67cbe39f12ccc74f4dc35b7e4c6af531 Mon Sep 17 00:00:00 2001 From: LEGRAND Jonathan <jonathan.legrand@inria.fr> Date: Mon, 11 Mar 2024 17:28:22 +0100 Subject: [PATCH] Remove deprecated `conftest.py`. --- test/conftest.py | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 test/conftest.py diff --git a/test/conftest.py b/test/conftest.py deleted file mode 100644 index 207c225..0000000 --- a/test/conftest.py +++ /dev/null @@ -1,37 +0,0 @@ -# {# pkglts, test.pytest_import -import os - -import pytest -# #} - - -# {# pkglts, test.pytest_cmdline_preparse -def pytest_cmdline_preparse(args): - if 'PYCHARM_HOSTED' not in os.environ: - args.append("--cov=bvpy") -# #} - - -# {# pkglts, test.pytest_addoption -def pytest_addoption(parser): - parser.addoption("--runslow", action="store_true", - default=False, help="run slow tests") -# #} - - -# {# pkglts, test.pytest_configure -def pytest_configure(config): - config.addinivalue_line( - "markers", "slow: marks tests as slow (deselect with '--runslow')" - ) -# #} - - -# {# pkglts, test.pytest_collection -def pytest_collection_modifyitems(config, items): - if not config.getoption("--runslow"): # skip slow tests - skip_slow = pytest.mark.skip(reason="need --runslow option to run") - for item in items: - if "slow" in item.keywords: - item.add_marker(skip_slow) -# #} -- GitLab