[pypy-svn] r77065 - pypy/branch/better-map-instances/pypy/rlib/test
cfbolz at codespeak.net
cfbolz at codespeak.net
Tue Sep 14 15:59:07 CEST 2010
Author: cfbolz
Date: Tue Sep 14 15:59:06 2010
New Revision: 77065
Modified:
pypy/branch/better-map-instances/pypy/rlib/test/test_rerased.py
Log:
improve test
Modified: pypy/branch/better-map-instances/pypy/rlib/test/test_rerased.py
==============================================================================
--- pypy/branch/better-map-instances/pypy/rlib/test/test_rerased.py (original)
+++ pypy/branch/better-map-instances/pypy/rlib/test/test_rerased.py Tue Sep 14 15:59:06 2010
@@ -35,7 +35,9 @@
def test_simple_int_overflow():
py.test.raises(OverflowError, erase, sys.maxint)
+ py.test.raises(OverflowError, erase, sys.maxint-1)
py.test.raises(OverflowError, erase, -sys.maxint)
+ py.test.raises(OverflowError, erase, -sys.maxint-1)
def test_annotate_1():
def f():
More information about the Pypy-commit
mailing list