https://github.com/python/cpython/commit/a1cd4ca7f46eafe61dc7f26692896a4a95c7e947 commit: a1cd4ca7f46eafe61dc7f26692896a4a95c7e947 branch: main author: abhi-jha <abhi_jha1...@rediffmail.com> committer: picnixz <10796600+picn...@users.noreply.github.com> date: 2025-04-13T22:26:58Z summary:
gh-132388: fix typos in `Lib/test/test_hmac.py` (#132480) Fix typos that slipped in GH-132389 (commit 9634085af3670b1eb654e3c7820aca66f358f39f). files: M Lib/test/test_hmac.py diff --git a/Lib/test/test_hmac.py b/Lib/test/test_hmac.py index 3055a036c811b6..8370ba30601fae 100644 --- a/Lib/test/test_hmac.py +++ b/Lib/test/test_hmac.py @@ -1453,7 +1453,7 @@ def test_with_fallback(self): cache.pop('foo') -class BuiiltinMiscellaneousTests(BuiltinModuleMixin, unittest.TestCase): +class BuiltinMiscellaneousTests(BuiltinModuleMixin, unittest.TestCase): """HMAC-BLAKE2 is not standardized as BLAKE2 is a keyed hash function. In particular, there is no official test vectors for HMAC-BLAKE2. @@ -1464,9 +1464,9 @@ class BuiiltinMiscellaneousTests(BuiltinModuleMixin, unittest.TestCase): @classmethod def setUpClass(cls): super().setUpClass() - cls.blake2 = blake2 = import_module("_blake2") - cls.blake2b = blake2.blake2b - cls.blake2s = blake2.blake2s + cls.blake2 = import_module("_blake2") + cls.blake2b = cls.blake2.blake2b + cls.blake2s = cls.blake2.blake2s def assert_hmac_blake_correctness(self, digest, key, msg, hashfunc): self.assertIsInstance(digest, bytes) _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com