Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Lib/test/test_coroutines.py
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,6 @@ async def foo():
self.fail('invalid asynchronous context manager did not fail')


@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: "'async with' received an object from __aexit__ that does not implement __await__: int" does not match "'range_iterator' object is not callable"
def test_with_8(self):
CNT = 0

Expand Down Expand Up @@ -2170,7 +2169,6 @@ async def func(): pass
f"coroutine {coro_repr}")
self.assertIn("was never awaited", str(cm.unraisable.exc_value))

@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: StopAsyncIteration not raised
def test_for_assign_raising_stop_async_iteration(self):
class BadTarget:
def __setitem__(self, key, value):
Expand Down Expand Up @@ -2204,7 +2202,6 @@ async def run_gen():
return 'end'
self.assertEqual(run_async(run_gen()), ([], 'end'))

@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: StopAsyncIteration not raised
def test_for_assign_raising_stop_async_iteration_2(self):
class BadIterable:
def __iter__(self):
Expand Down
Loading
Loading