There was an error while loading. Please reload this page.
1 parent 9e9163b commit 52e8342Copy full SHA for 52e8342
1 file changed
Lib/test/test_tuple.py
@@ -344,7 +344,8 @@ def check(n):
344
check(10) # check our checking code
345
check(1000000)
346
347
- @unittest.skip("TODO: RUSTPYTHON")
+ # TODO: RUSTPYTHON
348
+ @unittest.expectedFailure
349
def test_iterator_pickle(self):
350
# Userlist iterators don't support pickling yet since
351
# they are based on generators.
@@ -361,7 +362,8 @@ def test_iterator_pickle(self):
361
362
d = pickle.dumps(it, proto)
363
self.assertEqual(self.type2test(it), self.type2test(data)[1:])
364
365
366
367
def test_reversed_pickle(self):
368
data = self.type2test([4, 5, 6, 7])
369
for proto in range(pickle.HIGHEST_PROTOCOL + 1):
0 commit comments