[pypy-svn] r25363 - pypy/branch/explicit-exceptions/translator/c/test
mwh at codespeak.net
mwh at codespeak.net
Wed Apr 5 13:13:29 CEST 2006
Author: mwh
Date: Wed Apr 5 13:13:27 2006
New Revision: 25363
Modified:
pypy/branch/explicit-exceptions/translator/c/test/test_typed.py
Log:
merging of http://codespeak.net/svn/pypy/dist/pypy/translator/c/test/test_typed.py
revisions 24785 to 25354:
------------------------------------------------------------------------
r25000 | arigo | 2006-03-25 19:19:57 +0100 (Sat, 25 Mar 2006) | 7 lines
Remove some of the division low-level operations.
Now we only have xxx_floordiv for integer types,
and float_truediv for floats. The high-level
operations are mapped to one of these, possibly
with conversions (inserted automagically by the
rtyper).
------------------------------------------------------------------------
Modified: pypy/branch/explicit-exceptions/translator/c/test/test_typed.py
==============================================================================
--- pypy/branch/explicit-exceptions/translator/c/test/test_typed.py (original)
+++ pypy/branch/explicit-exceptions/translator/c/test/test_typed.py Wed Apr 5 13:13:27 2006
@@ -477,7 +477,7 @@
fn = self.getcompiled(snippet.add_func)
raises(OverflowError, fn, sys.maxint)
- def test_int_div_ovf_zer(self):
+ def test_int_floordiv_ovf_zer(self):
fn = self.getcompiled(snippet.div_func)
raises(OverflowError, fn, -1)
raises(ZeroDivisionError, fn, 0)
More information about the Pypy-commit
mailing list