(tmp_path: Path, _sys_snapshot)
| 120 | |
| 121 | |
| 122 | def test_conftest_in_nonpkg_with_init(tmp_path: Path, _sys_snapshot) -> None: |
| 123 | tmp_path.joinpath("adir-1.0/b").mkdir(parents=True) |
| 124 | tmp_path.joinpath("adir-1.0/conftest.py").write_text("a=1 ; Directory = 3") |
| 125 | tmp_path.joinpath("adir-1.0/b/conftest.py").write_text("b=2 ; a = 1.5") |
| 126 | tmp_path.joinpath("adir-1.0/b/__init__.py").touch() |
| 127 | tmp_path.joinpath("adir-1.0/__init__.py").touch() |
| 128 | ConftestWithSetinitial(tmp_path.joinpath("adir-1.0", "b")) |
| 129 | |
| 130 | |
| 131 | def test_doubledash_considered(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected