summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_descr.py2
-rw-r--r--Lib/test/test_dynamic.py2
-rw-r--r--Lib/test/test_frame.py2
-rw-r--r--Lib/test/test_unpack.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index 35ddb79..4a3db80 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -1989,7 +1989,7 @@ class ClassPropertiesAndMethods(unittest.TestCase):
ns = {}
exec(code, ns)
number_attrs = ns["number_attrs"]
- # Warm up the the function for quickening (PEP 659)
+ # Warm up the function for quickening (PEP 659)
for _ in range(30):
self.assertEqual(number_attrs(Numbers()), list(range(280)))
diff --git a/Lib/test/test_dynamic.py b/Lib/test/test_dynamic.py
index 7e12d42..0aa3be6 100644
--- a/Lib/test/test_dynamic.py
+++ b/Lib/test/test_dynamic.py
@@ -145,7 +145,7 @@ class RebindBuiltinsTests(unittest.TestCase):
code = "lambda: " + "+".join(f"_number_{i}" for i in range(variables))
sum_func = eval(code, MyGlobals())
expected = sum(range(variables))
- # Warm up the the function for quickening (PEP 659)
+ # Warm up the function for quickening (PEP 659)
for _ in range(30):
self.assertEqual(sum_func(), expected)
diff --git a/Lib/test/test_frame.py b/Lib/test/test_frame.py
index 6bb0144..9491c7f 100644
--- a/Lib/test/test_frame.py
+++ b/Lib/test/test_frame.py
@@ -322,7 +322,7 @@ class TestIncompleteFrameAreInvisible(unittest.TestCase):
sneaky_frame_object = None
gc.enable()
next(g)
- # g.gi_frame should be the the frame object from the callback (the
+ # g.gi_frame should be the frame object from the callback (the
# one that was *requested* second, but *created* first):
self.assertIs(g.gi_frame, sneaky_frame_object)
finally:
diff --git a/Lib/test/test_unpack.py b/Lib/test/test_unpack.py
index f5ca1d4..515ec12 100644
--- a/Lib/test/test_unpack.py
+++ b/Lib/test/test_unpack.py
@@ -162,7 +162,7 @@ class TestCornerCases(unittest.TestCase):
ns = {}
exec(code, ns)
unpack_400 = ns["unpack_400"]
- # Warm up the the function for quickening (PEP 659)
+ # Warm up the function for quickening (PEP 659)
for _ in range(30):
y = unpack_400(range(400))
self.assertEqual(y, 399)