Skip to content

Commit 7392593

Browse files
committed
Revert change in test.
1 parent a79e36b commit 7392593

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_generators.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ def generator1(self):
2828

2929
def generator2(self):
3030
try:
31-
while True:
32-
yield
31+
yield
3332
except KeyboardInterrupt:
3433
return "PASSED"
3534
else:

0 commit comments

Comments
 (0)