Searched refs:IsDirectlyConstructable (Results 1 – 2 of 2) sorted by relevance
143 self.assertTrue(discover.IsDirectlyConstructable(ClassWithoutInitDefOne))144 self.assertTrue(discover.IsDirectlyConstructable(ClassWithoutInitDefTwo))145 self.assertTrue(discover.IsDirectlyConstructable(ClassWhoseInitOnlyHasSelf))147 discover.IsDirectlyConstructable(ClassWhoseInitWithDefaultArguments))151 discover.IsDirectlyConstructable(
156 if not directly_constructable or IsDirectlyConstructable(obj):167 def IsDirectlyConstructable(cls): function