diff options
Diffstat (limited to 'Lib/test/output/test_compare')
-rw-r--r-- | Lib/test/output/test_compare | 242 |
1 files changed, 121 insertions, 121 deletions
diff --git a/Lib/test/output/test_compare b/Lib/test/output/test_compare index 4df9e49..8301233 100644 --- a/Lib/test/output/test_compare +++ b/Lib/test/output/test_compare @@ -1,122 +1,122 @@ test_compare -cmp(2, 2) = 0 -cmp(2, 2.2) = -1 -cmp(2, 2) = 0 -cmp(2, (2+4j)) = -1 -cmp(2, [1]) = -108 -cmp(2, (2,)) = -116 -cmp(2, None) = -78 -cmp(2, <Empty>) = -1 -cmp(2, <Coerce 3>) = -1 -cmp(2, <Cmp 4>) = -1 -cmp(2, <RCmp 5>) = -1 -cmp(2.2, 2) = 1 -cmp(2.2, 2.2) = 0 -cmp(2.2, 2) = 1 -cmp(2.2, (2+4j)) = 1 -cmp(2.2, [1]) = -108 -cmp(2.2, (2,)) = -116 -cmp(2.2, None) = -78 -cmp(2.2, <Empty>) = -1 -cmp(2.2, <Coerce 3>) = -1 -cmp(2.2, <Cmp 4>) = -1 -cmp(2.2, <RCmp 5>) = -1 -cmp(2, 2) = 0 -cmp(2, 2.2) = -1 -cmp(2, 2) = 0 -cmp(2, (2+4j)) = -1 -cmp(2, [1]) = -108 -cmp(2, (2,)) = -116 -cmp(2, None) = -78 -cmp(2, <Empty>) = -1 -cmp(2, <Coerce 3>) = -1 -cmp(2, <Cmp 4>) = -1 -cmp(2, <RCmp 5>) = -1 -cmp((2+4j), 2) = 1 -cmp((2+4j), 2.2) = -1 -cmp((2+4j), 2) = 1 -cmp((2+4j), (2+4j)) = 0 -cmp((2+4j), [1]) = -108 -cmp((2+4j), (2,)) = -116 -cmp((2+4j), None) = -78 -cmp((2+4j), <Empty>) = -1 -cmp((2+4j), <Coerce 3>) = -1 -cmp((2+4j), <Cmp 4>) = -1 -cmp((2+4j), <RCmp 5>) = -1 -cmp([1], 2) = 108 -cmp([1], 2.2) = 108 -cmp([1], 2) = 108 -cmp([1], (2+4j)) = 108 -cmp([1], [1]) = 0 -cmp([1], (2,)) = -8 -cmp([1], None) = 30 -cmp([1], <Empty>) = -1 -cmp([1], <Coerce 3>) = 1 -cmp([1], <Cmp 4>) = 1 -cmp([1], <RCmp 5>) = -1 -cmp((2,), 2) = 116 -cmp((2,), 2.2) = 116 -cmp((2,), 2) = 116 -cmp((2,), (2+4j)) = 116 -cmp((2,), [1]) = 8 -cmp((2,), (2,)) = 0 -cmp((2,), None) = 38 -cmp((2,), <Empty>) = -1 -cmp((2,), <Coerce 3>) = 1 -cmp((2,), <Cmp 4>) = 1 -cmp((2,), <RCmp 5>) = -1 -cmp(None, 2) = 78 -cmp(None, 2.2) = 78 -cmp(None, 2) = 78 -cmp(None, (2+4j)) = 78 -cmp(None, [1]) = -30 -cmp(None, (2,)) = -38 -cmp(None, None) = 0 -cmp(None, <Empty>) = -1 -cmp(None, <Coerce 3>) = 1 -cmp(None, <Cmp 4>) = 1 -cmp(None, <RCmp 5>) = -1 -cmp(<Empty>, 2) = 1 -cmp(<Empty>, 2.2) = 1 -cmp(<Empty>, 2) = 1 -cmp(<Empty>, (2+4j)) = 1 -cmp(<Empty>, [1]) = 1 -cmp(<Empty>, (2,)) = 1 -cmp(<Empty>, None) = 1 -cmp(<Empty>, <Empty>) = 0 -cmp(<Empty>, <Coerce 3>) = -1 -cmp(<Empty>, <Cmp 4>) = -1 -cmp(<Empty>, <RCmp 5>) = 1 -cmp(<Coerce 3>, 2) = 1 -cmp(<Coerce 3>, 2.2) = 1 -cmp(<Coerce 3>, 2) = 1 -cmp(<Coerce 3>, (2+4j)) = 1 -cmp(<Coerce 3>, [1]) = -1 -cmp(<Coerce 3>, (2,)) = -1 -cmp(<Coerce 3>, None) = -1 -cmp(<Coerce 3>, <Empty>) = 1 -cmp(<Coerce 3>, <Coerce 3>) = 0 -cmp(<Coerce 3>, <Cmp 4>) = -1 -cmp(<Coerce 3>, <RCmp 5>) = -1 -cmp(<Cmp 4>, 2) = 1 -cmp(<Cmp 4>, 2.2) = 1 -cmp(<Cmp 4>, 2) = 1 -cmp(<Cmp 4>, (2+4j)) = 1 -cmp(<Cmp 4>, [1]) = -1 -cmp(<Cmp 4>, (2,)) = -1 -cmp(<Cmp 4>, None) = -1 -cmp(<Cmp 4>, <Empty>) = -1 -cmp(<Cmp 4>, <Coerce 3>) = 1 -cmp(<Cmp 4>, <Cmp 4>) = 0 -cmp(<Cmp 4>, <RCmp 5>) = -1 -cmp(<RCmp 5>, 2) = 1 -cmp(<RCmp 5>, 2.2) = 1 -cmp(<RCmp 5>, 2) = 1 -cmp(<RCmp 5>, (2+4j)) = 1 -cmp(<RCmp 5>, [1]) = 1 -cmp(<RCmp 5>, (2,)) = 1 -cmp(<RCmp 5>, None) = 1 -cmp(<RCmp 5>, <Empty>) = 1 -cmp(<RCmp 5>, <Coerce 3>) = 1 -cmp(<RCmp 5>, <Cmp 4>) = 1 -cmp(<RCmp 5>, <RCmp 5>) = 0 +2 == 2 +2 == 2.0 +2 == 2 +2 == (2+0j) +2 != [1] +2 != (3,) +2 != None +2 != <Empty> +2 == <Coerce 2> +2 == <Cmp 2.0> +2 != <RCmp 2> +2.0 == 2 +2.0 == 2.0 +2.0 == 2 +2.0 == (2+0j) +2.0 != [1] +2.0 != (3,) +2.0 != None +2.0 != <Empty> +2.0 == <Coerce 2> +2.0 == <Cmp 2.0> +2.0 != <RCmp 2> +2 == 2 +2 == 2.0 +2 == 2 +2 == (2+0j) +2 != [1] +2 != (3,) +2 != None +2 != <Empty> +2 == <Coerce 2> +2 == <Cmp 2.0> +2 != <RCmp 2> +(2+0j) == 2 +(2+0j) == 2.0 +(2+0j) == 2 +(2+0j) == (2+0j) +(2+0j) != [1] +(2+0j) != (3,) +(2+0j) != None +(2+0j) != <Empty> +(2+0j) == <Coerce 2> +(2+0j) == <Cmp 2.0> +(2+0j) != <RCmp 2> +[1] != 2 +[1] != 2.0 +[1] != 2 +[1] != (2+0j) +[1] == [1] +[1] != (3,) +[1] != None +[1] != <Empty> +[1] != <Coerce 2> +[1] != <Cmp 2.0> +[1] != <RCmp 2> +(3,) != 2 +(3,) != 2.0 +(3,) != 2 +(3,) != (2+0j) +(3,) != [1] +(3,) == (3,) +(3,) != None +(3,) != <Empty> +(3,) != <Coerce 2> +(3,) != <Cmp 2.0> +(3,) != <RCmp 2> +None != 2 +None != 2.0 +None != 2 +None != (2+0j) +None != [1] +None != (3,) +None == None +None != <Empty> +None != <Coerce 2> +None != <Cmp 2.0> +None != <RCmp 2> +<Empty> != 2 +<Empty> != 2.0 +<Empty> != 2 +<Empty> != (2+0j) +<Empty> != [1] +<Empty> != (3,) +<Empty> != None +<Empty> == <Empty> +<Empty> != <Coerce 2> +<Empty> != <Cmp 2.0> +<Empty> != <RCmp 2> +<Coerce 2> == 2 +<Coerce 2> == 2.0 +<Coerce 2> == 2 +<Coerce 2> == (2+0j) +<Coerce 2> != [1] +<Coerce 2> != (3,) +<Coerce 2> != None +<Coerce 2> != <Empty> +<Coerce 2> == <Coerce 2> +<Coerce 2> != <Cmp 2.0> +<Coerce 2> == <RCmp 2> +<Cmp 2.0> == 2 +<Cmp 2.0> == 2.0 +<Cmp 2.0> == 2 +<Cmp 2.0> == (2+0j) +<Cmp 2.0> != [1] +<Cmp 2.0> != (3,) +<Cmp 2.0> != None +<Cmp 2.0> != <Empty> +<Cmp 2.0> == <Coerce 2> +<Cmp 2.0> == <Cmp 2.0> +<Cmp 2.0> != <RCmp 2> +<RCmp 2> != 2 +<RCmp 2> != 2.0 +<RCmp 2> != 2 +<RCmp 2> != (2+0j) +<RCmp 2> != [1] +<RCmp 2> != (3,) +<RCmp 2> != None +<RCmp 2> != <Empty> +<RCmp 2> != <Coerce 2> +<RCmp 2> != <Cmp 2.0> +<RCmp 2> == <RCmp 2> |