summaryrefslogtreecommitdiff
path: root/Lib/test/test_hmac.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-08-30 13:42:54 -0700
committerGitHub <noreply@github.com>2019-08-30 13:42:54 -0700
commit4bd1d05ee247f200e52fab3958d875bd88073e5b (patch)
treee123f9b7cd40d19341b2b011bf706704b48f9f5c /Lib/test/test_hmac.py
parent3d75857dfa0e50dd6e5439e8bd92c07c5d5e9839 (diff)
downloadcpython-git-4bd1d05ee247f200e52fab3958d875bd88073e5b.tar.gz
Fix typos mostly in comments, docs and test names (GH-15209)
(cherry picked from commit 39d87b54715197ca9dcb6902bb43461c0ed701a2) Co-authored-by: Min ho Kim <minho42@gmail.com>
Diffstat (limited to 'Lib/test/test_hmac.py')
-rw-r--r--Lib/test/test_hmac.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_hmac.py b/Lib/test/test_hmac.py
index 896bbe9ab7..f2eb6d716d 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))