Home
last modified time | relevance | path

Searched refs:c_hashlib (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_hashlib.py26 c_hashlib = import_fresh_module('hashlib', fresh=['_hashlib']) variable
166 @unittest.skipIf(c_hashlib is None, 'Require _hashlib module')
169 sha1_hash = c_hashlib.new('sha1')
932 @unittest.skipUnless(hasattr(c_hashlib, 'pbkdf2_hmac'),
935 self._test_pbkdf2_hmac(c_hashlib.pbkdf2_hmac)
938 @unittest.skipUnless(hasattr(c_hashlib, 'scrypt'),