diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-03-12 22:01:30 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-03-12 22:01:30 +0200 |
commit | c2ccce791ccbe35bee0edea2dedabb0fc7ea5906 (patch) | |
tree | c31fcb2d158d17ab07038f26ec016b37e5b8cea0 /Lib/test/mapping_tests.py | |
parent | da0870c87aeb7843f0211d3fd9220f6f5b58f688 (diff) | |
parent | a60c2fe4807e89a5844979fe46b3ea39572fc3be (diff) | |
download | cpython-git-c2ccce791ccbe35bee0edea2dedabb0fc7ea5906.tar.gz |
Issue #23641: Cleaned out legacy dunder names from tests and docs.
Fixed 2 to 3 porting bug in pynche.ColorDB.
Added few tests for __truediv__, __floordiv__ and __matmul__.
Diffstat (limited to 'Lib/test/mapping_tests.py')
-rw-r--r-- | Lib/test/mapping_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/mapping_tests.py b/Lib/test/mapping_tests.py index bc12c7756f..ff82f4eb7d 100644 --- a/Lib/test/mapping_tests.py +++ b/Lib/test/mapping_tests.py @@ -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() ... |