[pypy-svn] r64997 - pypy/branch/pyjitpl5/pypy/jit/metainterp/test
arigo at codespeak.net
arigo at codespeak.net
Sun May 3 12:06:29 CEST 2009
Author: arigo
Date: Sun May 3 12:06:27 2009
New Revision: 64997
Modified:
pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_exception.py
Log:
Complete the test by testing for a second case.
Modified: pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_exception.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_exception.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_exception.py Sun May 3 12:06:27 2009
@@ -59,6 +59,8 @@
res = self.meta_interp(f, [20], policy=StopAtXPolicy(check))
assert res == f(20)
+ res = self.meta_interp(f, [21], policy=StopAtXPolicy(check))
+ assert res == f(21)
def test_bridge_from_guard_no_exception(self):
myjitdriver = JitDriver(greens = [], reds = ['n'])
More information about the Pypy-commit
mailing list