Move the __enter__ call out of the try suite. I was nuts putting it
inside.
This commit is contained in:
parent
cc6ea270d6
commit
22bae2bbd0
|
@ -160,8 +160,8 @@ Specification
|
|||
abc = EXPR
|
||||
exc = (None, None, None)
|
||||
try:
|
||||
VAR = abc.__enter__()
|
||||
try:
|
||||
VAR = abc.__enter__()
|
||||
BLOCK
|
||||
except:
|
||||
exc = sys.exc_info()
|
||||
|
|
Loading…
Reference in New Issue