diff options
author | Guido van Rossum <guido@python.org> | 2001-01-22 16:01:24 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-01-22 16:01:24 (GMT) |
commit | d9bae8b95a4e998c7c34d31b63dc47de85ffa359 (patch) | |
tree | 8b226cb01da135d424d479a23e19d6810a611b81 /Lib/test | |
parent | 8f9143da335ec2118017f62a22a9968bfe47b04b (diff) | |
download | cpython-d9bae8b95a4e998c7c34d31b63dc47de85ffa359.zip cpython-d9bae8b95a4e998c7c34d31b63dc47de85ffa359.tar.gz cpython-d9bae8b95a4e998c7c34d31b63dc47de85ffa359.tar.bz2 |
Numeric-smelling objects now once again compare smaller than
non-numeric ones, so 4 < None again in the 'map' test.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_b1.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_b1.py b/Lib/test/test_b1.py index ea09d0b..97462b1 100644 --- a/Lib/test/test_b1.py +++ b/Lib/test/test_b1.py @@ -483,7 +483,7 @@ if map(int, Squares(10)) != [0, 1, 4, 9, 16, 25, 36, 49, 64, 81]: raise TestFailed, 'map(int, Squares(10))' if map(None, Squares(3), Squares(2)) != [(0,0), (1,1), (4,None)]: raise TestFailed, 'map(None, Squares(3), Squares(2))' -if map(max, Squares(3), Squares(2)) != [0, 1, 4]: +if map(max, Squares(3), Squares(2)) != [0, 1, None]: raise TestFailed, 'map(max, Squares(3), Squares(2))' print 'max' |