summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/test/test_ttk/test_functions.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2017-12-14 14:19:51 (GMT)
committerGitHub <noreply@github.com>2017-12-14 14:19:51 (GMT)
commit28453feaa8d88bbcbf6d834b1d5ca396d17265f2 (patch)
treee228f9ddb6795965d302e6d16c2e4bfb0b074d17 /Lib/tkinter/test/test_ttk/test_functions.py
parent645fa19f15cddeec8d882a9e1420173e7516f0e4 (diff)
downloadcpython-28453feaa8d88bbcbf6d834b1d5ca396d17265f2.zip
cpython-28453feaa8d88bbcbf6d834b1d5ca396d17265f2.tar.gz
cpython-28453feaa8d88bbcbf6d834b1d5ca396d17265f2.tar.bz2
[3.6] bpo-32297: Fix misspellings in Python source code comments (GH-4803) (#4864)
* [3.6] bpo-32297: Few misspellings found in Python source code comments. (GH-4803) * Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py. (cherry picked from commit 53f7a7c2814fbfd8a29200926601a32fa48bacb3)
Diffstat (limited to 'Lib/tkinter/test/test_ttk/test_functions.py')
-rw-r--r--Lib/tkinter/test/test_ttk/test_functions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/tkinter/test/test_ttk/test_functions.py b/Lib/tkinter/test/test_ttk/test_functions.py
index a1b7cdf..f8e69a9 100644
--- a/Lib/tkinter/test/test_ttk/test_functions.py
+++ b/Lib/tkinter/test/test_ttk/test_functions.py
@@ -149,7 +149,7 @@ class InternalFunctionsTest(unittest.TestCase):
# but when passing a single state, it can be anything
valid = {'opt': [[1, 'value']]}
self.assertEqual(ttk._format_mapdict(valid), ('-opt', '1 value'))
- # special attention to single states which evalute to False
+ # special attention to single states which evaluate to False
for stateval in (None, 0, False, '', set()): # just some samples
valid = {'opt': [(stateval, 'value')]}
self.assertEqual(ttk._format_mapdict(valid),
@@ -251,7 +251,7 @@ class InternalFunctionsTest(unittest.TestCase):
self.assertEqual(ttk._format_layoutlist([])[0], '')
# _format_layoutlist always expects the second item (in every item)
- # to act like a dict (except when the value evalutes to False).
+ # to act like a dict (except when the value evaluates to False).
self.assertRaises(AttributeError,
ttk._format_layoutlist, [('a', 'b')])