summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_hashlib.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-24 04:52:27 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-01-24 04:52:27 (GMT)
commitbf1d2bc7cbebf59c9128805e8261406420053311 (patch)
tree499abe718d5db1d4460f1d914e8f9b16a97434ad /Lib/test/test_hashlib.py
parentacff595a4eca82c2742f3158c2a7709cc37f4d70 (diff)
downloadcpython-bf1d2bc7cbebf59c9128805e8261406420053311.zip
cpython-bf1d2bc7cbebf59c9128805e8261406420053311.tar.gz
cpython-bf1d2bc7cbebf59c9128805e8261406420053311.tar.bz2
Make the type consistent for hashlib algorithm constants. (Reviewed by Benjamin).
Diffstat (limited to 'Lib/test/test_hashlib.py')
-rw-r--r--Lib/test/test_hashlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_hashlib.py b/Lib/test/test_hashlib.py
index 1f5a8be..fe316fd 100644
--- a/Lib/test/test_hashlib.py
+++ b/Lib/test/test_hashlib.py
@@ -103,7 +103,7 @@ class HashLibTestCase(unittest.TestCase):
def test_algorithms_guaranteed(self):
self.assertEqual(hashlib.algorithms_guaranteed,
- tuple(_algo for _algo in self.supported_hash_names
+ set(_algo for _algo in self.supported_hash_names
if _algo.islower()))
def test_algorithms_available(self):