Skip to content

Commit e83c23b

Browse files
committed
Unmark expectedFailures
1 parent 9a9246d commit e83c23b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Lib/test/test_iter.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,6 @@ def __iter__(self):
235235
self.assertRaises(TypeError, iter, IterClass())
236236

237237
# Test two-argument iter() with callable instance
238-
# TODO: RUSTPYTHON
239-
@unittest.expectedFailure
240238
def test_iter_callable(self):
241239
class C:
242240
def __init__(self):
@@ -250,8 +248,6 @@ def __call__(self):
250248
self.check_iterator(iter(C(), 10), list(range(10)), pickle=False)
251249

252250
# Test two-argument iter() with function
253-
# TODO: RUSTPYTHON
254-
@unittest.expectedFailure
255251
def test_iter_function(self):
256252
def spam(state=[0]):
257253
i = state[0]
@@ -260,8 +256,6 @@ def spam(state=[0]):
260256
self.check_iterator(iter(spam, 10), list(range(10)), pickle=False)
261257

262258
# Test two-argument iter() with function that raises StopIteration
263-
# TODO: RUSTPYTHON
264-
@unittest.expectedFailure
265259
def test_iter_function_stop(self):
266260
def spam(state=[0]):
267261
i = state[0]
@@ -272,8 +266,6 @@ def spam(state=[0]):
272266
self.check_iterator(iter(spam, 20), list(range(10)), pickle=False)
273267

274268
# Test exception propagation through function iterator
275-
# TODO: RUSTPYTHON
276-
@unittest.expectedFailure
277269
def test_exception_function(self):
278270
def spam(state=[0]):
279271
i = state[0]
@@ -962,8 +954,6 @@ def test_sinkstate_sequence(self):
962954
a.n = 10
963955
self.assertEqual(list(b), [])
964956

965-
# TODO: RUSTPYTHON
966-
@unittest.expectedFailure
967957
def test_sinkstate_callable(self):
968958
# This used to fail
969959
def spam(state=[0]):

0 commit comments

Comments
 (0)