better error output from test case
authorStefan Behnel <scoder@users.berlios.de>
Fri, 12 Nov 2010 19:31:53 +0000 (20:31 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 12 Nov 2010 19:31:53 +0000 (20:31 +0100)
tests/run/consts.pyx

index 2ae5c785b997fff09aca5df24855c615f1162d32..e779e3e1a522e1e9c50763124e9fef6ee11e8907 100644 (file)
@@ -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