Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Removed expectedFailure for builtins.anext() tests
Signed-off-by: Yash Suthar <[email protected]>
  • Loading branch information
YashSuthar983 committed Oct 29, 2025
commit a39384548d77ed1bcf5d069408ae1b30ac1c861e
6 changes: 0 additions & 6 deletions Lib/test/test_asyncgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,8 +603,6 @@ async def check_anext_returning_iterator(self, aiter_class):
await awaitable
return "completed"

# TODO: RUSTPYTHON, NameError: name 'anext' is not defined
@unittest.expectedFailure
def test_anext_return_iterator(self):
class WithIterAnext:
def __aiter__(self):
Expand All @@ -614,8 +612,6 @@ def __anext__(self):
result = self.loop.run_until_complete(self.check_anext_returning_iterator(WithIterAnext))
self.assertEqual(result, "completed")

# TODO: RUSTPYTHON, NameError: name 'anext' is not defined
@unittest.expectedFailure
def test_anext_return_generator(self):
class WithGenAnext:
def __aiter__(self):
Expand All @@ -625,8 +621,6 @@ def __anext__(self):
result = self.loop.run_until_complete(self.check_anext_returning_iterator(WithGenAnext))
self.assertEqual(result, "completed")

# TODO: RUSTPYTHON, NameError: name 'anext' is not defined
@unittest.expectedFailure
def test_anext_await_raises(self):
class RaisingAwaitable:
def __await__(self):
Expand Down
Loading