[pypy-svn] r15563 - pypy/dist/pypy/translator/llvm2/test
rxe at codespeak.net
rxe at codespeak.net
Wed Aug 3 16:54:29 CEST 2005
Author: rxe
Date: Wed Aug 3 16:54:28 2005
New Revision: 15563
Modified:
pypy/dist/pypy/translator/llvm2/test/test_exception.py
Log:
Oops - commented out test accidentally and forget skip line.
Modified: pypy/dist/pypy/translator/llvm2/test/test_exception.py
==============================================================================
--- pypy/dist/pypy/translator/llvm2/test/test_exception.py (original)
+++ pypy/dist/pypy/translator/llvm2/test/test_exception.py Wed Aug 3 16:54:28 2005
@@ -198,7 +198,13 @@
assert f(6) == fn(6)
assert f(13) == fn(13)
+def test_try_raise_choose():
+ f = compile_function(try_raise_choose, [int])
+ for i in [-1, 0, 1, 2]:
+ assert f(i) == i
+
def test_raise_outside_testfn():
+ py.test.skip("dont know if this is valid or not")
def raiser(n):
if n < 0:
raise ValueError("hello")
More information about the Pypy-commit
mailing list