summaryrefslogtreecommitdiff
path: root/Lib/test/test_dict.py
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-10-07 17:49:47 +0200
committerGitHub <noreply@github.com>2021-10-07 11:49:47 -0400
commitcfca4a67745cb9ed040fade3fd54f5002a6e75a6 (patch)
treedb352adfb835d8b392b2257e12a9b481b1a8bf12 /Lib/test/test_dict.py
parent03bf55d8cf563ccdee2ec61c5c734c59b5d94ba4 (diff)
downloadcpython-git-cfca4a67745cb9ed040fade3fd54f5002a6e75a6.tar.gz
[3.10] Fix typos in the Lib directory (GH-28775) (GH-28804)
Fix typos in the Lib directory as identified by codespell. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>. (cherry picked from commit 745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be) Co-authored-by: Christian Clauss <cclauss@me.com>
Diffstat (limited to 'Lib/test/test_dict.py')
-rw-r--r--Lib/test/test_dict.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_dict.py b/Lib/test/test_dict.py
index 666cd81e68..54d100288c 100644
--- a/Lib/test/test_dict.py
+++ b/Lib/test/test_dict.py
@@ -1051,7 +1051,7 @@ class DictTest(unittest.TestCase):
@support.cpython_only
def test_splittable_pop_pending(self):
- """pop a pending key in a splitted table should not crash"""
+ """pop a pending key in a split table should not crash"""
a, b = self.make_shared_key_dict(2)
a['a'] = 4
@@ -1398,7 +1398,7 @@ class DictTest(unittest.TestCase):
self.assertRaises(StopIteration, next, r)
def test_reverse_iterator_for_empty_dict(self):
- # bpo-38525: revered iterator should work properly
+ # bpo-38525: reversed iterator should work properly
# empty dict is directly used for reference count test
self.assertEqual(list(reversed({})), [])