(self)
| 774 | assert common_dir_prefix([r"foo/bar/x.pyi"]) == r"foo\bar" |
| 775 | |
| 776 | def test_function_context_nested_classes(self) -> None: |
| 777 | ctx = FunctionContext( |
| 778 | module_name="spangle", |
| 779 | name="foo", |
| 780 | class_info=ClassInfo( |
| 781 | name="Nested", self_var="self", parent=ClassInfo(name="Parent", self_var="self") |
| 782 | ), |
| 783 | ) |
| 784 | assert ctx.fullname == "spangle.Parent.Nested.foo" |
| 785 | |
| 786 | |
| 787 | class StubgenHelpersSuite(unittest.TestCase): |
nothing calls this directly
no test coverage detected