INNER CODE UNIT · Python

pytest_collection_modifyitems

pygae/galgebra · conftest.py:11

def pytest_collection_modifyitems(config, items):
    if not config.getoption('--run-slow'):
        skip_slow = pytest.mark.skip(reason='slow test; pass --run-slow to run')
        for item in items:
            if 'slow' in item.keywords:
                item.add_marker(skip_slow)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…