[pypy-svn] r16780 - pypy/release/0.7.x/pypy/translator/llvm/test

ericvrp at codespeak.net ericvrp at codespeak.net
Sat Aug 27 17:22:20 CEST 2005


Author: ericvrp
Date: Sat Aug 27 17:22:19 2005
New Revision: 16780

Modified:
   pypy/release/0.7.x/pypy/translator/llvm/test/test_exc_operation.py
Log:
skipping some tests again untill we can share genc's version


Modified: pypy/release/0.7.x/pypy/translator/llvm/test/test_exc_operation.py
==============================================================================
--- pypy/release/0.7.x/pypy/translator/llvm/test/test_exc_operation.py	(original)
+++ pypy/release/0.7.x/pypy/translator/llvm/test/test_exc_operation.py	Sat Aug 27 17:22:19 2005
@@ -73,29 +73,35 @@
 ############################
 
 def test_int_overflow():
+    py.test.skip("ovf operator exception not implemented")
     fn = compile_function(snippet.add_func, [int])
     raises(OverflowError, fn, sys.maxint)
 
 def test_int_div_ovf_zer():
+    py.test.skip("ovf_zer operator exception not implemented")
     fn = compile_function(snippet.div_func, [int])
     raises(OverflowError, fn, -1)
     raises(ZeroDivisionError, fn, 0)
 
 def test_int_mod_ovf_zer():
+    py.test.skip("ovf_zer operator exception not implemented")
     fn = compile_function(snippet.mod_func, [int])
     raises(OverflowError, fn, -1)
     raises(ZeroDivisionError, fn, 0)
 
 def test_int_rshift_val():
+    py.test.skip("val operator exception not implemented")
     fn = compile_function(snippet.rshift_func, [int])
     raises(ValueError, fn, -1)
 
 def test_int_lshift_ovf_val():
+    py.test.skip("ovf_val operator exception not implemented")
     fn = compile_function(snippet.lshift_func, [int])
     raises(ValueError, fn, -1)
     raises(OverflowError, fn, 1)
 
 def test_uint_arith():
+    py.test.skip("zer operator exception not implemented")
     def fn(i):
         try:
             return ~(i*(i+1))/(i-1)
@@ -107,6 +113,7 @@
         assert f(i) == fn(i)
 
 def test_int_add_ovf():
+    py.test.skip("ovf operator exception not implemented")
     def add_func(i):
         try:
             return ovfcheck(i + 1)
@@ -119,6 +126,7 @@
     assert f(sys.maxint) == 123
 
 def test_int_sub_ovf():
+    py.test.skip("ovf operator exception not implemented")
     def sub_func(i):
         try:
             return ovfcheck(i - 1)
@@ -130,7 +138,8 @@
     assert f(sys.maxint) == sub_func(sys.maxint)
     assert f(sys.maxint) == 123
 
-def test_shift_with_overflow(self):
+def test_shift_with_overflow():
+    py.test.skip("shift operator exception not implemented")
     shl = compile_function(llvmsnippet.shiftleft, [int, int])
     shr = compile_function(llvmsnippet.shiftright, [int, int])
     for i in [1, 2, 3, 100000, 2000000, sys.maxint - 1]:



More information about the Pypy-commit mailing list