diff options
author | Min ho Kim <minho42@gmail.com> | 2019-08-31 06:21:19 +1000 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2019-08-30 16:21:19 -0400 |
commit | 39d87b54715197ca9dcb6902bb43461c0ed701a2 (patch) | |
tree | 778362acb785069882291e2e39f64fd395d73889 /Lib/test/test_hmac.py | |
parent | 15119bc2a7e902ae1c6988556c3bef3de87fa789 (diff) | |
download | cpython-39d87b54715197ca9dcb6902bb43461c0ed701a2.tar.gz cpython-39d87b54715197ca9dcb6902bb43461c0ed701a2.zip |
Fix typos mostly in comments, docs and test names (GH-15209)
Diffstat (limited to 'Lib/test/test_hmac.py')
-rw-r--r-- | Lib/test/test_hmac.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_hmac.py b/Lib/test/test_hmac.py index 896bbe9ab79..f2eb6d716d5 100644 --- a/Lib/test/test_hmac.py +++ b/Lib/test/test_hmac.py @@ -445,7 +445,7 @@ class CompareDigestTestCase(unittest.TestCase): a, b = bytearray(b"foobar"), bytearray(b"foobar") self.assertTrue(hmac.compare_digest(a, b)) - # Testing bytearrays of diffeent lengths + # Testing bytearrays of different lengths a, b = bytearray(b"foobar"), bytearray(b"foo") self.assertFalse(hmac.compare_digest(a, b)) @@ -458,7 +458,7 @@ class CompareDigestTestCase(unittest.TestCase): self.assertTrue(hmac.compare_digest(a, b)) self.assertTrue(hmac.compare_digest(b, a)) - # Testing byte bytearray of diffeent lengths + # Testing byte bytearray of different lengths a, b = bytearray(b"foobar"), b"foo" self.assertFalse(hmac.compare_digest(a, b)) self.assertFalse(hmac.compare_digest(b, a)) @@ -472,7 +472,7 @@ class CompareDigestTestCase(unittest.TestCase): a, b = "foobar", "foobar" self.assertTrue(hmac.compare_digest(a, b)) - # Testing str of diffeent lengths + # Testing str of different lengths a, b = "foo", "foobar" self.assertFalse(hmac.compare_digest(a, b)) |