gh-130080: fix warnings in tests (#131400)

This commit is contained in:
Irit Katriel 2025-03-18 12:33:46 +00:00 committed by GitHub
parent 51d309988b
commit 83479c2175
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 82 additions and 77 deletions

View file

@ -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())