diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2005-10-22 03:51:42 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2005-10-22 03:51:42 (GMT) |
commit | ebc3457937330aaab2b64424b82996b8128e0ba1 (patch) | |
tree | 9c7ae770f71c64952d0cf195abfda041a9bdd4c2 /Lib/test | |
parent | ab541bb98e4b0deebc7baaaf6e9e231cd499b77c (diff) | |
download | cpython-ebc3457937330aaab2b64424b82996b8128e0ba1.zip cpython-ebc3457937330aaab2b64424b82996b8128e0ba1.tar.gz cpython-ebc3457937330aaab2b64424b82996b8128e0ba1.tar.bz2 |
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.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_generators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_generators.py b/Lib/test/test_generators.py index d226043..cb7e992 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: |