summaryrefslogtreecommitdiff
path: root/Lib/test/test_richcmp.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-08-24 09:08:57 +0000
committerGeorg Brandl <georg@python.org>2005-08-24 09:08:57 +0000
commite1d52dea7ede10dbe12e66661d909e3a0c77e053 (patch)
tree8f8ce1d248f47dc927eac87ad5290dc3eee21c13 /Lib/test/test_richcmp.py
parentd8e07804b56956958d21d0a02fb511a99ff959e7 (diff)
downloadcpython-e1d52dea7ede10dbe12e66661d909e3a0c77e053.tar.gz
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 006b1528c9..687298d26e 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):