[pypy-commit] pypy default: Argh, bogus tests

arigo pypy.commits at gmail.com
Sat Sep 15 18:10:44 EDT 2018


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r95126:314ddd2d83c5
Date: 2018-09-16 00:03 +0200
http://bitbucket.org/pypy/pypy/changeset/314ddd2d83c5/

Log:	Argh, bogus tests

diff --git a/pypy/module/_cffi_backend/test/_backend_test_c.py b/pypy/module/_cffi_backend/test/_backend_test_c.py
--- a/pypy/module/_cffi_backend/test/_backend_test_c.py
+++ b/pypy/module/_cffi_backend/test/_backend_test_c.py
@@ -342,11 +342,7 @@
         py.test.raises(OverflowError, newp, pp, max + 1)
         py.test.raises(OverflowError, newp, pp, min - 1 - 2 ** 32)
         py.test.raises(OverflowError, newp, pp, min - 1 - 2 ** 64)
-        py.test.raises(OverflowError, newp, pp, min - 1 + 2 ** 32)
-        py.test.raises(OverflowError, newp, pp, min - 1 + 2 ** 64)
         py.test.raises(OverflowError, newp, pp, max + 1)
-        py.test.raises(OverflowError, newp, pp, max + 1 - 2 ** 32)
-        py.test.raises(OverflowError, newp, pp, max + 1 - 2 ** 64)
         py.test.raises(OverflowError, newp, pp, max + 1 + 2 ** 32)
         py.test.raises(OverflowError, newp, pp, max + 1 + 2 ** 64)
         py.test.raises(TypeError, newp, pp, 1.0)


More information about the pypy-commit mailing list