fix issue78 - strike superflous "import sys" that cause unbound

local var errors.

--HG--
branch : trunk
This commit is contained in:
holger krekel 2010-04-14 13:30:12 +02:00
parent 1d28dcf140
commit 75a6bf2395
1 changed files with 0 additions and 2 deletions

View File

@ -447,7 +447,6 @@ def report_failure(e):
def check(s, frame=None):
if frame is None:
import sys
frame = sys._getframe(1)
frame = py.code.Frame(frame)
expr = parse(s, 'eval')
@ -518,7 +517,6 @@ def getfailure(e):
def run(s, frame=None):
if frame is None:
import sys
frame = sys._getframe(1)
frame = py.code.Frame(frame)
module = Interpretable(parse(s, 'exec').node)