mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-130080: fix warnings in tests (#131400)
This commit is contained in:
parent
51d309988b
commit
83479c2175
6 changed files with 82 additions and 77 deletions
|
@ -1520,8 +1520,9 @@ class TestInterestingEdgeCases(unittest.TestCase):
|
|||
try:
|
||||
yield yielded_first
|
||||
yield yielded_second
|
||||
finally:
|
||||
return returned
|
||||
except:
|
||||
pass
|
||||
return returned
|
||||
|
||||
def outer():
|
||||
return (yield from inner())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue