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
requested tweaks
  • Loading branch information
tom-pytel committed Jan 17, 2025
commit 2accb876df0083c55207e6e19f8f05ce7c584ed6
3 changes: 2 additions & 1 deletion Lib/test/test_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -1670,7 +1670,8 @@ def test_gh_128961(self):
it = iter(a)
list(it)
it.__setstate__(0)
Comment thread
erlend-aasland marked this conversation as resolved.
self.assertRaises(StopIteration, lambda: next(it))
self.assertRaises(StopIteration, next, it)


if __name__ == "__main__":
unittest.main()