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

Function pytest_configure

python/pyarrow/tests/conftest.py:102–116  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

100
101
102def pytest_configure(config):
103 # Apply command-line options to initialize PyArrow-specific config object
104 config.pyarrow = PyArrowConfig()
105
106 for mark in groups:
107 config.addinivalue_line(
108 "markers", mark,
109 )
110
111 enable_flag = f'--enable-{mark}'
112 disable_flag = f'--disable-{mark}'
113
114 is_enabled = (config.getoption(enable_flag) and not
115 config.getoption(disable_flag))
116 config.pyarrow.is_enabled[mark] = is_enabled
117
118
119def pytest_runtest_setup(item):

Callers

nothing calls this directly

Calls 1

PyArrowConfigClass · 0.85

Tested by

no test coverage detected