From a60c2fe4807e89a5844979fe46b3ea39572fc3be Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Thu, 12 Mar 2015 21:56:08 +0200 Subject: Issue #23641: Cleaned out legacy dunder names from tests and docs. Fixed 2 to 3 porting bug in pynche.ColorDB. --- Lib/test/mapping_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/mapping_tests.py') 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() ... -- cgit v1.2.1