(self, tmp_path: Path, ns_param: bool)
| 236 | ) |
| 237 | |
| 238 | def test_messy_name(self, tmp_path: Path, ns_param: bool) -> None: |
| 239 | class="cm"># https://bitbucket.org/hpk42/py-trunk/issue/129 |
| 240 | path = tmp_path / class="st">"foo__init__.py" |
| 241 | path.touch() |
| 242 | module = import_path(path, root=tmp_path, consider_namespace_packages=ns_param) |
| 243 | assert module.__name__ == class="st">"foo__init__" |
| 244 | |
| 245 | def test_dir(self, tmp_path: Path, ns_param: bool) -> None: |
| 246 | p = tmp_path / class="st">"hello_123" |
nothing calls this directly
no test coverage detected