We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca0ab3b commit a166e4fCopy full SHA for a166e4f
Lib/test/test_hmac.py
@@ -1136,15 +1136,15 @@ def test_update_exceptions(self):
1136
self.assertRaises(TypeError, h.update, msg)
1137
1138
1139
-@hashlib_helper.requires_hashdigest('sha256')
+@requires_builtin_sha2()
1140
class PyUpdateTestCase(PyModuleMixin, UpdateTestCaseMixin, unittest.TestCase):
1141
1142
def HMAC(self, key, msg=None):
1143
return self.hmac.HMAC(key, msg, digestmod='sha256')
1144
1145
@property
1146
def gil_minsize(self):
1147
- self.skipTest("GIL is always held")
+ return sha2._GIL_MINSIZE
1148
1149
1150
@hashlib_helper.requires_openssl_hashdigest('sha256')
0 commit comments