(self, path1: Path, ns_param: bool)
| 276 | assert mod.value == class="st">"got it" |
| 277 | |
| 278 | def test_d(self, path1: Path, ns_param: bool) -> None: |
| 279 | otherdir = path1 / class="st">"otherdir" |
| 280 | mod = import_path( |
| 281 | otherdir / class="st">"d.py", root=path1, consider_namespace_packages=ns_param |
| 282 | ) |
| 283 | assert mod.value2 == class="st">"got it" |
| 284 | |
| 285 | def test_import_after(self, tmp_path: Path, ns_param: bool) -> None: |
| 286 | tmp_path.joinpath(class="st">"xxxpackage").mkdir() |
nothing calls this directly
no test coverage detected