Commits

Austin Seipp committed c6e4117

Fix tests.

Signed-off-by: Austin Seipp <mad.one@gmail.com>

Comments (0)

Files changed (2)

t/test_interpreter.py

-from bf.main import run
+from bf.jit import run
 
 def test_interp():
-    run('++++++')
+    run('++++++', False)
     # nothing
 
 def test_A(capfd):
     run("""> +++++
            [ < +++++ +++++ +++ > - ]
            < .
-        """)
+        """, False)
     out, err = capfd.readouterr()
     assert err == u''
     assert out == 'A'
 from rpython.jit.metainterp.test.support import LLJitMixin
-from bf.main import run
+from bf.jit import run
 
 class TestJit(LLJitMixin):
     def test_jit(self):
             """
             ]
 
-        def main(i): run(codes[i])
+        def main(i): run(codes[i], False)
         for i, _ in enumerate(codes):
             self.meta_interp(main, [i], listops=True)