mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
[ sf.net patch # 1121611 ]
A new hashlib module to replace the md5 and sha modules. It adds support for additional secure hashes such as SHA-256 and SHA-512. The hashlib module uses OpenSSL for fast platform optimized implementations of algorithms when available. The old md5 and sha modules still exist as wrappers around hashlib to preserve backwards compatibility.
This commit is contained in:
parent
33a5f2af59
commit
f21a5f7739
21 changed files with 2589 additions and 53 deletions
|
@ -1090,6 +1090,9 @@ class _ExpectedSkips:
|
|||
s = _expectations[sys.platform]
|
||||
self.expected = set(s.split())
|
||||
|
||||
# this isn't a regularly run unit test, it is always skipped
|
||||
self.expected.add('test_hashlib_speed')
|
||||
|
||||
if not os.path.supports_unicode_filenames:
|
||||
self.expected.add('test_pep277')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue