From ebc3457937330aaab2b64424b82996b8128e0ba1 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sat, 22 Oct 2005 03:51:42 +0000 Subject: [PATCH] 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. --- Lib/test/test_generators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_generators.py b/Lib/test/test_generators.py index d226043ce35..cb7e9920904 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: