(self)
| 1626 | assert all(sub.startswith("unittest.") for sub in p.subpackages) |
| 1627 | |
| 1628 | def test_c_module(self) -> None: |
| 1629 | with ModuleInspect() as m: |
| 1630 | p = m.get_package_properties("_socket") |
| 1631 | assert p is not None |
| 1632 | assert p.name == "_socket" |
| 1633 | assert p.path is None |
| 1634 | assert p.is_c_module is True |
| 1635 | assert p.subpackages == [] |
| 1636 | |
| 1637 | def test_non_existent(self) -> None: |
| 1638 | with ModuleInspect() as m: |
nothing calls this directly
no test coverage detected