summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_hash.py
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2011-10-23 18:53:01 (GMT)
committerMark Dickinson <mdickinson@enthought.com>2011-10-23 18:53:01 (GMT)
commit36645681c8ad9a30d142f1dabb44d1d6c3ed5fab (patch)
treeb98250ba008c4e858e44563e12f232d5ccfb8dd9 /Lib/test/test_hash.py
parenta2a2e480f335b8758a159ea72ab0067127d1d303 (diff)
downloadcpython-36645681c8ad9a30d142f1dabb44d1d6c3ed5fab.zip
cpython-36645681c8ad9a30d142f1dabb44d1d6c3ed5fab.tar.gz
cpython-36645681c8ad9a30d142f1dabb44d1d6c3ed5fab.tar.bz2
Issue #13201: equality for range objects is now based on equality of the underlying sequences. Thanks Sven Marnach for the patch.
Diffstat (limited to 'Lib/test/test_hash.py')
-rw-r--r--Lib/test/test_hash.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_hash.py b/Lib/test/test_hash.py
index fea1025..779e485 100644
--- a/Lib/test/test_hash.py
+++ b/Lib/test/test_hash.py
@@ -107,8 +107,7 @@ class DefaultIterSeq(object):
return self.seq[index]
class HashBuiltinsTestCase(unittest.TestCase):
- hashes_to_check = [range(10),
- enumerate(range(10)),
+ hashes_to_check = [enumerate(range(10)),
iter(DefaultIterSeq()),
iter(lambda: 0, 0),
]