(tmp_path: Path, _sys_snapshot)
| 130 | |
| 131 | |
| 132 | def test_conftest_in_nonpkg_with_init(tmp_path: Path, _sys_snapshot) -> None: |
| 133 | tmp_path.joinpath("adir-1.0/b").mkdir(parents=True) |
| 134 | tmp_path.joinpath("adir-1.0/conftest.py").write_text( |
| 135 | "a=1 ; Directory = 3", encoding="utf-8" |
| 136 | ) |
| 137 | tmp_path.joinpath("adir-1.0/b/conftest.py").write_text( |
| 138 | "b=2 ; a = 1.5", encoding="utf-8" |
| 139 | ) |
| 140 | tmp_path.joinpath("adir-1.0/b/__init__.py").touch() |
| 141 | tmp_path.joinpath("adir-1.0/__init__.py").touch() |
| 142 | ConftestWithSetinitial(tmp_path.joinpath("adir-1.0", "b")) |
| 143 | |
| 144 | |
| 145 | def test_doubledash_considered(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…