From: Robert Bradshaw Date: Thu, 8 Nov 2012 02:24:35 +0000 (-0800) Subject: More overflow test fixes. X-Git-Tag: 0.18b1~161 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e2e70dc8399006d76b38b7f24190c4b0d966dbc9;p=platform%2Fupstream%2Fpython-cython.git More overflow test fixes. --- diff --git a/tests/run/overflow_check.pxi b/tests/run/overflow_check.pxi index de9c621..e28ffde 100644 --- a/tests/run/overflow_check.pxi +++ b/tests/run/overflow_check.pxi @@ -51,10 +51,10 @@ def run_test(func, op): check(func, op, min_value_ + 1, 2 - offset) for offset in range(9): - check(func, op, max_value_ / 2, offset) - check(func, op, min_value_ / 3, offset) - check(func, op, max_value_ / 4, offset) - check(func, op, min_value_ / 5, offset) + check(func, op, max_value_ / 2, offset) + check(func, op, min_value_ / 3, offset) + check(func, op, max_value_ / 4, offset) + check(func, op, min_value_ / 5, offset) if is_signed_: check(func, op, max_value_ / 2, 4 - offset) check(func, op, min_value_ / 3, 4 - offset)