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