(config: Config)
| 109 | |
| 110 | |
| 111 | def pytest_configure(config: Config) -> None: |
| 112 | if config.getvalue("lsof"): |
| 113 | checker = LsofFdLeakChecker() |
| 114 | if checker.matching_platform(): |
| 115 | config.pluginmanager.register(checker) |
| 116 | |
| 117 | config.addinivalue_line( |
| 118 | "markers", |
| 119 | "pytester_example_path(*path_segments): join the given path " |
| 120 | "segments to `pytester_example_dir` for this test.", |
| 121 | ) |
| 122 | |
| 123 | |
| 124 | class LsofFdLeakChecker: |
nothing calls this directly
no test coverage detected