From a56c467ac39ab1a6a2e9dc2fa41a9f573f989839 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Tue, 27 Jan 2009 18:17:45 +0000 Subject: Issue #1717: Remove cmp. Stage 1: remove all uses of cmp and __cmp__ from the standard library and tests. --- Lib/test/test_hmac.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_hmac.py') diff --git a/Lib/test/test_hmac.py b/Lib/test/test_hmac.py index f7ac8efbb0..8dcbe7e89c 100644 --- a/Lib/test/test_hmac.py +++ b/Lib/test/test_hmac.py @@ -291,7 +291,7 @@ class CopyTestCase(unittest.TestCase): # Testing if the copy method created a real copy. h1 = hmac.HMAC(b"key") h2 = h1.copy() - # Using id() in case somebody has overridden __cmp__. + # Using id() in case somebody has overridden __eq__/__ne__. self.failUnless(id(h1) != id(h2), "No real copy of the HMAC instance.") self.failUnless(id(h1.inner) != id(h2.inner), "No real copy of the attribute 'inner'.") -- cgit v1.2.1