From 9dd0e113d1eb723075f5e3ea7fbc0d460e40eba7 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 12 Nov 2010 20:31:53 +0100 Subject: [PATCH] better error output from test case --- tests/run/consts.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.26.2