Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_tuple.py351 itorg = iter(data)
352 d = pickle.dumps(itorg, proto)
354 self.assertEqual(type(itorg), type(it))
365 itorg = reversed(data)
366 d = pickle.dumps(itorg, proto)
368 self.assertEqual(type(itorg), type(it))
Dtest_deque.py634 itorg = iter(orig)
635 dump = pickle.dumps((itorg, orig), proto)
639 self.assertEqual(type(it), type(itorg))
643 next(itorg)
644 dump = pickle.dumps((itorg, orig), proto)
648 self.assertEqual(type(it), type(itorg))
653 next(itorg)
654 dump = pickle.dumps((itorg, orig), proto)
658 self.assertEqual(type(it), type(itorg))
662 self.assertRaises(StopIteration, next, itorg)
[all …]
Dtest_enumerate.py69 def check_pickle(self, itorg, seq): argument
71 d = pickle.dumps(itorg, proto)
73 self.assertEqual(type(itorg), type(it))
Dtest_dict.py1129 itorg = iter(data.items())
1130 d = pickle.dumps(itorg, proto)
1185 itorg = reversed(data.items())
1186 d = pickle.dumps(itorg, proto)
Dtest_range.py389 it = itorg = iter(range(*t))
394 self.assertEqual(type(itorg), type(it))
Dtest_iter.py111 def check_pickle(self, itorg, seq): argument
113 d = pickle.dumps(itorg, proto)
Dtest_set.py241 itorg = iter(self.s)
243 d = pickle.dumps(itorg, proto)
Dtest_builtin.py140 itorg = it
143 self.assertEqual(type(itorg), type(it))
Dtest_bytes.py797 it = itorg = iter(self.type2test(b))
801 self.assertEqual(type(itorg), type(it))