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

arigo pypy.commits at gmail.com
Sat Sep 15 18:00:02 EDT 2018


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r3163:8076f2ac1bd2
Date: 2018-09-15 23:59 +0200
http://bitbucket.org/cffi/cffi/changeset/8076f2ac1bd2/

Log:	Argh, bogus tests

diff --git a/c/test_c.py b/c/test_c.py
--- a/c/test_c.py
+++ b/c/test_c.py
@@ -353,11 +353,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