summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_richcmp.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-08-24 09:08:57 (GMT)
committerGeorg Brandl <georg@python.org>2005-08-24 09:08:57 (GMT)
commitbe3856dcd41b444642a77c93e1f94367741692e7 (patch)
treeb58160911b4b5eb2c4ddeee85c4ba3ef301cb763 /Lib/test/test_richcmp.py
parent52715f69e7d57e189109a6092f093c8ce9d70abc (diff)
downloadcpython-be3856dcd41b444642a77c93e1f94367741692e7.zip
cpython-be3856dcd41b444642a77c93e1f94367741692e7.tar.gz
cpython-be3856dcd41b444642a77c93e1f94367741692e7.tar.bz2
patch [ 1141428 ] more __contains__ tests
Diffstat (limited to 'Lib/test/test_richcmp.py')
-rw-r--r--Lib/test/test_richcmp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_richcmp.py b/Lib/test/test_richcmp.py
index 006b152..687298d 100644
--- a/Lib/test/test_richcmp.py
+++ b/Lib/test/test_richcmp.py
@@ -259,8 +259,8 @@ class DictTest(unittest.TestCase):
def test_dicts(self):
# Verify that __eq__ and __ne__ work for dicts even if the keys and
- # values don't support anything other than __eq__ and __ne__. Complex
- # numbers are a fine example of that.
+ # values don't support anything other than __eq__ and __ne__ (and
+ # __hash__). Complex numbers are a fine example of that.
import random
imag1a = {}
for i in range(50):