summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test
diff options
context:
space:
mode:
authorXtreak <tir.karthi@gmail.com>2019-06-03 04:21:15 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2019-06-03 04:21:15 (GMT)
commitd9677f36fe486e86bb86f2cd59cb7fc3804bdac1 (patch)
tree587a07399b08b0c9cb380644d3e85f50442598ce /Lib/idlelib/idle_test
parentcba9f84725353455b0995bd47d0fa8cb1724464b (diff)
downloadcpython-d9677f36fe486e86bb86f2cd59cb7fc3804bdac1.zip
cpython-d9677f36fe486e86bb86f2cd59cb7fc3804bdac1.tar.gz
cpython-d9677f36fe486e86bb86f2cd59cb7fc3804bdac1.tar.bz2
IDLE: Fix typos in docs and comments (GH-13749)
Diffstat (limited to 'Lib/idlelib/idle_test')
-rw-r--r--Lib/idlelib/idle_test/htest.py2
-rw-r--r--Lib/idlelib/idle_test/mock_tk.py2
-rw-r--r--Lib/idlelib/idle_test/test_pyparse.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/idle_test/htest.py b/Lib/idlelib/idle_test/htest.py
index 429081f..6e3398e 100644
--- a/Lib/idlelib/idle_test/htest.py
+++ b/Lib/idlelib/idle_test/htest.py
@@ -12,7 +12,7 @@ or function) whose .__name__ attribute is also X (the usual situation).
The first parameter of X must be 'parent'. When called, the parent
argument will be the root window. X must create a child Toplevel
window (or subclass thereof). The Toplevel may be a test widget or
-dialog, in which case the callable is the corresonding class. Or the
+dialog, in which case the callable is the corresponding class. Or the
Toplevel may contain the widget to be tested or set up a context in
which a test widget is invoked. In this latter case, the callable is a
wrapper function that sets up the Toplevel and other objects. Wrapper
diff --git a/Lib/idlelib/idle_test/mock_tk.py b/Lib/idlelib/idle_test/mock_tk.py
index a54f51f..576f7d5 100644
--- a/Lib/idlelib/idle_test/mock_tk.py
+++ b/Lib/idlelib/idle_test/mock_tk.py
@@ -37,7 +37,7 @@ class Mbox_func:
"""Generic mock for messagebox functions, which all have the same signature.
Instead of displaying a message box, the mock's call method saves the
- arguments as instance attributes, which test functions can then examime.
+ arguments as instance attributes, which test functions can then examine.
The test can set the result returned to ask function
"""
def __init__(self, result=None):
diff --git a/Lib/idlelib/idle_test/test_pyparse.py b/Lib/idlelib/idle_test/test_pyparse.py
index 0534301..479b84a 100644
--- a/Lib/idlelib/idle_test/test_pyparse.py
+++ b/Lib/idlelib/idle_test/test_pyparse.py
@@ -160,7 +160,7 @@ class PyParseTest(unittest.TestCase):
TestInfo('\n def function1(self, a,\n', [0, 1, 2], BRACKET),
TestInfo('())\n', [0, 1], NONE), # Extra closer.
TestInfo(')(\n', [0, 1], BRACKET), # Extra closer.
- # For the mismatched example, it doesn't look like contination.
+ # For the mismatched example, it doesn't look like continuation.
TestInfo('{)(]\n', [0, 1], NONE), # Mismatched.
)