diff --git a/test/conftest.py b/test/conftest.py deleted file mode 100644 index 207c2251896b5758706492a3efbbf7c28ebeee3e..0000000000000000000000000000000000000000 --- 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) -# #}