(config)
| 100 | |
| 101 | |
| 102 | def 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 | |
| 119 | def pytest_runtest_setup(item): |
nothing calls this directly
no test coverage detected