def testNextInFocusChainCycleList(self): '''As above but in for a list of objects''' parents = [] children = [] focus_chains = [] for i in range(10): parent = ObjectType() child = ObjectType(parent) next_focus = child.nextInFocusChain() parents.append(parent) children.append(child) focus_chains.append(next_focus) shiboken.invalidate(parents)
def testNextInFocusChainCycle(self): parent = ObjectType() child = ObjectType(parent) next_focus = child.nextInFocusChain() shiboken.invalidate(parent)