summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/idlelib/idle_test/test_query.py2
-rw-r--r--Lib/test/test_fstring.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/idle_test/test_query.py b/Lib/idlelib/idle_test/test_query.py
index d7372a305e..ec86868bd4 100644
--- a/Lib/idlelib/idle_test/test_query.py
+++ b/Lib/idlelib/idle_test/test_query.py
@@ -146,7 +146,7 @@ class ModuleNameTest(unittest.TestCase):
"Test ModuleName subclass of Query."
class Dummy_ModuleName:
- entry_ok = query.ModuleName.entry_ok # Funtion being tested.
+ entry_ok = query.ModuleName.entry_ok # Function being tested.
text0 = ''
entry = Var()
diff --git a/Lib/test/test_fstring.py b/Lib/test/test_fstring.py
index a82dedffe4..905ae63126 100644
--- a/Lib/test/test_fstring.py
+++ b/Lib/test/test_fstring.py
@@ -250,7 +250,7 @@ f'{a * x()}'"""
])
self.assertAllRaise(SyntaxError, "invalid syntax",
- [# Invalid sytax inside a nested spec.
+ [# Invalid syntax inside a nested spec.
"f'{4:{/5}}'",
])