From: Stefan Behnel Date: Fri, 12 Nov 2010 19:31:53 +0000 (+0100) Subject: better error output from test case X-Git-Tag: 0.14.alpha0~166 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9dd0e113d1eb723075f5e3ea7fbc0d460e40eba7;p=cython.git better error output from test case --- diff --git a/tests/run/consts.pyx b/tests/run/consts.pyx index 2ae5c785..e779e3e1 100644 --- a/tests/run/consts.pyx +++ b/tests/run/consts.pyx @@ -37,8 +37,8 @@ def long_int_mix(): """ >>> long_int_mix() == 1 + (2 * 3) // 2 True - >>> if IS_PY3: type(long_int_mix()) is int - ... else: type(long_int_mix()) is long + >>> if IS_PY3: type(long_int_mix()) is int or type(long_int_mix()) + ... else: type(long_int_mix()) is long or type(long_int_mix()) True """ return 1L + (2 * 3L) // 2