summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-07-28 01:25:31 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-07-28 01:25:31 (GMT)
commit263893c2619c3df19770c0bf8c78bd1b427e3e5a (patch)
tree4b000640861e8fab54f2f55cfa0993f411ee0489
parent8bde9111157e0eb994159c1506b1cec86298f810 (diff)
downloadcpython-263893c2619c3df19770c0bf8c78bd1b427e3e5a.zip
cpython-263893c2619c3df19770c0bf8c78bd1b427e3e5a.tar.gz
cpython-263893c2619c3df19770c0bf8c78bd1b427e3e5a.tar.bz2
Issue #27626: Further spelling fixes for 3.6
-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 d7372a3..ec86868 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 a82dedf..905ae63 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}}'",
])