MCPcopy Create free account
hub / github.com/apache/arrow / pytest_collection_modifyitems

Function pytest_collection_modifyitems

dev/archery/conftest.py:42–48  ·  view source on GitHub ↗
(config, items)

Source from the content-addressed store, hash-verified

40
41
42def pytest_collection_modifyitems(config, items):
43 if config.getoption("--enable-integration"):
44 return
45 marker = pytest.mark.skip(reason="need --enable-integration option to run")
46 for item in items:
47 if "integration" in item.keywords:
48 item.add_marker(marker)
49
50
51@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected