(early_config: Config)
| 11 | |
| 12 | @pytest.hookimpl(tryfirst=True) |
| 13 | def pytest_load_initial_conftests(early_config: Config) -> None: |
| 14 | # `pythonpath = a b` will set `sys.path` to `[a, b, x, y, z, ...]` |
| 15 | for path in reversed(early_config.getini("pythonpath")): |
| 16 | sys.path.insert(0, str(path)) |
| 17 | |
| 18 | |
| 19 | @pytest.hookimpl(trylast=True) |