Home
last modified time | relevance | path

Searched refs:pickletest (Results 1 – 1 of 1) sorted by relevance

/third_party/python/Lib/test/
Dtest_itertools.py84 def pickletest(self, protocol, it, stop=4, take=1, compare=None): member in TestBasicOps
152 self.pickletest(proto, accumulate(range(10))) # test pickling
153 self.pickletest(proto, accumulate(range(10), initial=7))
193 self.pickletest(proto, chain('abc', 'def'), compare=list('abcdef'))
286 self.pickletest(proto, combinations(values, r)) # test pickling
373 self.pickletest(proto, cwr(values,r)) # test pickling
448 self.pickletest(proto, permutations(values, r)) # test pickling
570 self.pickletest(proto, count(value))
628 self.pickletest(proto, count(i, j))
653 self.pickletest(proto, cycle('abc'))
[all …]