예제 #1
0
 def test_free_after_iterating(self):
     support.check_free_after_iterating(self, iter, dict)
     support.check_free_after_iterating(self, lambda d: iter(d.keys()),
                                        dict)
     support.check_free_after_iterating(self, lambda d: iter(d.values()),
                                        dict)
     support.check_free_after_iterating(self, lambda d: iter(d.items()),
                                        dict)
예제 #2
0
 def test_free_after_iterating(self):
     support.check_free_after_iterating(self, iter, array.array,
                                        (self.typecode,))
     support.check_free_after_iterating(self, reversed, array.array,
                                        (self.typecode,))
예제 #3
0
 def test_free_after_iterating(self):
     support.check_free_after_iterating(self, iter, self.OrderedDict)
     support.check_free_after_iterating(self, lambda d: iter(d.keys()), self.OrderedDict)
     support.check_free_after_iterating(self, lambda d: iter(d.values()), self.OrderedDict)
     support.check_free_after_iterating(self, lambda d: iter(d.items()), self.OrderedDict)
예제 #4
0
 def test_free_after_iterating(self):
     check_free_after_iterating(self, iter, SequenceClass, (0, ))
 def test_free_after_iterating(self):
     support.check_free_after_iterating(self, iter, self.type2test)
     support.check_free_after_iterating(self, reversed, self.type2test)
예제 #6
0
 def test_free_after_iterating(self):
     support.check_free_after_iterating(self, iter, array.array,
                                        (self.typecode, ))
     support.check_free_after_iterating(self, reversed, array.array,
                                        (self.typecode, ))
예제 #7
0
 def test_free_after_iterating(self):
     support.check_free_after_iterating(self, iter, self.type2test)
     support.check_free_after_iterating(self, reversed, self.type2test)
예제 #8
0
 def test_free_after_iterating(self):
     check_free_after_iterating(self, iter, SequenceClass, (0,))