Commits

Anonymous committed fa2fd0c

test: ExecutionDone exception is gone for long

Comments (0)

Files changed (1)

test/testInterpreter.py

 from testconfig import *
 
 from caprunner.resolver import linkResolver
-from caprunner.interpreter import ExecutionDone, JavaCardVM, JavaCardFrame, JavaCardLocals, JavaCardStack, DummyFrame
+from caprunner.interpreter import JavaCardVM, JavaCardFrame, JavaCardLocals, JavaCardStack, DummyFrame
 
 from pythoncard.framework import ISOException, Applet
 
 class TestInterpreter(unittest.TestCase):
 
     def _run(self, intr):
-        try:
-            while True:
-                intr.step()
-        except ExecutionDone:
+        while intr.step():
             pass
 
     def testEasy(self):