From: Stefan Behnel Date: Thu, 1 May 2008 18:09:34 +0000 (+0200) Subject: fix test case on 64 bit systems X-Git-Tag: 0.9.8rc1~65 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7c0cebd3be19fc461974f2a26e4e211ee932cc16;p=cython.git fix test case on 64 bit systems --- diff --git a/tests/run/r_vree_1.pyx b/tests/run/r_vree_1.pyx index b49420c0..7f6f3a53 100644 --- a/tests/run/r_vree_1.pyx +++ b/tests/run/r_vree_1.pyx @@ -10,10 +10,10 @@ __doc__ = """ >>> type(sys.maxint * 2 + 1) is long True - >>> test(sys.maxint + 1) - 2147483648L - >>> test(sys.maxint * 2 + 1) - 4294967295L + >>> test(sys.maxint + 1) == sys.maxint + 1 + True + >>> test(sys.maxint * 2 + 1) == sys.maxint * 2 + 1 + True >>> test(256 ** unsigned_long_size() - 1) > 0 True