mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #23641: Cleaned out legacy dunder names from tests and docs.
Fixed 2 to 3 porting bug in pynche.ColorDB.
This commit is contained in:
parent
18987a11ce
commit
a60c2fe480
19 changed files with 72 additions and 124 deletions
|
@ -64,7 +64,7 @@ class BasicTestMappingProtocol(unittest.TestCase):
|
|||
self.assertEqual(d, d)
|
||||
self.assertNotEqual(p, d)
|
||||
self.assertNotEqual(d, p)
|
||||
#__non__zero__
|
||||
#bool
|
||||
if p: self.fail("Empty mapping must compare to False")
|
||||
if not d: self.fail("Full mapping must compare to True")
|
||||
# keys(), items(), iterkeys() ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue