Searched refs:IsDirectlyConstructable (Results 1 – 2 of 2) sorted by relevance
137 self.assertTrue(discover.IsDirectlyConstructable(ClassWithoutInitDefOne))138 self.assertTrue(discover.IsDirectlyConstructable(ClassWithoutInitDefTwo))139 self.assertTrue(discover.IsDirectlyConstructable(ClassWhoseInitOnlyHasSelf))141 discover.IsDirectlyConstructable(ClassWhoseInitWithDefaultArguments))145 discover.IsDirectlyConstructable(
158 if not directly_constructable or IsDirectlyConstructable(obj):169 def IsDirectlyConstructable(cls): function