Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9571a68

Browse filesBrowse files
CPython Developersyouknowone
CPython Developers
authored andcommitted
Update test_yield_from from CPython 3.10.6
1 parent ead12b5 commit 9571a68
Copy full SHA for 9571a68

File tree

1 file changed

+3
-0
lines changed
Filter options

1 file changed

+3
-0
lines changed

‎Lib/test/test_yield_from.py

Copy file name to clipboardExpand all lines: Lib/test/test_yield_from.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -946,6 +946,9 @@ def two():
946946
res.append(g1.throw(MyErr))
947947
except StopIteration:
948948
pass
949+
except:
950+
self.assertEqual(res, [0, 1, 2, 3])
951+
raise
949952
# Check with close
950953
class MyIt(object):
951954
def __iter__(self):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.