Skip to content

Commit 2accb87

Browse files
committed
requested tweaks
1 parent 8eab735 commit 2accb87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_array.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1670,7 +1670,8 @@ def test_gh_128961(self):
16701670
it = iter(a)
16711671
list(it)
16721672
it.__setstate__(0)
1673-
self.assertRaises(StopIteration, lambda: next(it))
1673+
self.assertRaises(StopIteration, next, it)
1674+
16741675

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

0 commit comments

Comments
 (0)