From: Neal Norwitz Date: Sat, 22 Oct 2005 03:51:42 +0000 (+0000) Subject: Revert previous checkin: X-Git-Tag: v2.5a0~1248 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ebc3457937330aaab2b64424b82996b8128e0ba1;p=thirdparty%2FPython%2Fcpython.git Revert previous checkin: According to Jeremy, the comment only made sense when the yield was disallowed. Now it's testing that the yield is allowed, so it's not bad and the outer finally is irrelevant. --- diff --git a/Lib/test/test_generators.py b/Lib/test/test_generators.py index d226043ce35b..cb7e99209049 100644 --- a/Lib/test/test_generators.py +++ b/Lib/test/test_generators.py @@ -774,7 +774,7 @@ These are fine: ... try: ... 1//0 ... except ZeroDivisionError: -... yield 666 # bad because *outer* try has finally +... yield 666 ... except: ... pass ... finally: