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