mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Make the type consistent for hashlib algorithm constants. (Reviewed by Benjamin).
This commit is contained in:
parent
acff595a4e
commit
bf1d2bc7cb
3 changed files with 6 additions and 3 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue