/external/python/cpython3/Lib/test/ |
test_tuple.py | 185 itorg = iter(data) 186 d = pickle.dumps(itorg, proto) 188 self.assertEqual(type(itorg), type(it)) 199 itorg = reversed(data) 200 d = pickle.dumps(itorg, proto) 202 self.assertEqual(type(itorg), type(it))
|
test_deque.py | 646 itorg = iter(orig) 647 dump = pickle.dumps((itorg, orig), proto) 651 self.assertEqual(type(it), type(itorg)) 655 next(itorg) 656 dump = pickle.dumps((itorg, orig), proto) 660 self.assertEqual(type(it), type(itorg)) 665 next(itorg) 666 dump = pickle.dumps((itorg, orig), proto) 670 self.assertEqual(type(it), type(itorg)) 674 self.assertRaises(StopIteration, next, itorg) [all...] |
test_enumerate.py | 68 def check_pickle(self, itorg, seq): 70 d = pickle.dumps(itorg, proto) 72 self.assertEqual(type(itorg), type(it))
|
test_range.py | 375 it = itorg = iter(range(*t)) 380 self.assertEqual(type(itorg), type(it))
|
test_iter.py | 92 def check_pickle(self, itorg, seq): 94 d = pickle.dumps(itorg, proto) 98 # self.assertEqual(type(itorg), type(it))
|
test_bytes.py | 674 it = itorg = iter(self.type2test(b)) 678 self.assertEqual(type(itorg), type(it)) [all...] |
test_dict.py | 1040 itorg = iter(data.items()) 1041 d = pickle.dumps(itorg, proto) [all...] |
test_builtin.py | 131 itorg = it 134 self.assertEqual(type(itorg), type(it)) [all...] |
test_set.py | 240 itorg = iter(self.s) 242 d = pickle.dumps(itorg, proto) 246 # self.assertEqual(type(itorg), type(it)) [all...] |