(self)
| 1605 | |
| 1606 | class ModuleInspectSuite(unittest.TestCase): |
| 1607 | def test_python_module(self) -> None: |
| 1608 | with ModuleInspect() as m: |
| 1609 | p = m.get_package_properties("inspect") |
| 1610 | assert p is not None |
| 1611 | assert p.name == "inspect" |
| 1612 | assert p.file |
| 1613 | assert p.path is None |
| 1614 | assert p.is_c_module is False |
| 1615 | assert p.subpackages == [] |
| 1616 | |
| 1617 | def test_python_package(self) -> None: |
| 1618 | with ModuleInspect() as m: |
nothing calls this directly
no test coverage detected