Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit9571a68

Browse files
CPython Developersyouknowone
CPython Developers
authored andcommitted
Update test_yield_from from CPython 3.10.6
1 parentead12b5 commit9571a68

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎Lib/test/test_yield_from.py

Lines 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
exceptStopIteration:
948948
pass
949+
except:
950+
self.assertEqual(res, [0,1,2,3])
951+
raise
949952
# Check with close
950953
classMyIt(object):
951954
def__iter__(self):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp