◐ Shell
clean mode source ↗

[3.7] bpo-31787: Skip refleak check when _hashlib is not available (GH-5660) by miss-islington · Pull Request #5661 · python/cpython

Expand Up @@ -163,6 +163,7 @@ def hash_constructors(self): return itertools.chain.from_iterable(constructors)
@support.refcount_test @unittest.skipIf(c_hashlib is None, 'Require _hashlib module') def test_refleaks_in_hash___init__(self): gettotalrefcount = support.get_attribute(sys, 'gettotalrefcount') sha1_hash = c_hashlib.new('sha1') Expand Down