mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #1717: Remove cmp. Stage 1: remove all uses of cmp and __cmp__ from
the standard library and tests.
This commit is contained in:
parent
191e850053
commit
a56c467ac3
32 changed files with 210 additions and 216 deletions
|
@ -47,7 +47,7 @@ class UserDictTest(mapping_tests.TestHashMappingProtocol):
|
|||
self.assertEqual(repr(u1), repr(d1))
|
||||
self.assertEqual(repr(u2), repr(d2))
|
||||
|
||||
# Test __cmp__ and __len__
|
||||
# Test rich comparison and __len__
|
||||
all = [d0, d1, d2, u, u0, u1, u2, uu, uu0, uu1, uu2]
|
||||
for a in all:
|
||||
for b in all:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue