summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/test
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-02-21 20:27:01 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-02-21 20:27:01 (GMT)
commit3e4caeb3bf2b2579861e9f3379e3508fbb30549c (patch)
tree05385e9530059fe3608194b2e8d6f9e57d797220 /Lib/lib-tk/test
parenta12a86e956f949bd145cef247a95ed742386c70b (diff)
downloadcpython-3e4caeb3bf2b2579861e9f3379e3508fbb30549c.zip
cpython-3e4caeb3bf2b2579861e9f3379e3508fbb30549c.tar.gz
cpython-3e4caeb3bf2b2579861e9f3379e3508fbb30549c.tar.bz2
Issue #5341: Fix a variety of spelling errors.
Diffstat (limited to 'Lib/lib-tk/test')
-rw-r--r--Lib/lib-tk/test/test_ttk/test_style.py2
-rw-r--r--Lib/lib-tk/test/test_ttk/test_widgets.py10
2 files changed, 6 insertions, 6 deletions
diff --git a/Lib/lib-tk/test/test_ttk/test_style.py b/Lib/lib-tk/test/test_ttk/test_style.py
index 6754598..ab3554d 100644
--- a/Lib/lib-tk/test/test_ttk/test_style.py
+++ b/Lib/lib-tk/test/test_ttk/test_style.py
@@ -61,7 +61,7 @@ class StyleTest(unittest.TestCase):
# correct layout, but "option" doesn't exist as option
self.failUnlessRaises(Tkinter.TclError, style.layout, 'Treeview',
- [('name', {'option': 'inexistant'})])
+ [('name', {'option': 'inexistent'})])
def test_theme_use(self):
diff --git a/Lib/lib-tk/test/test_ttk/test_widgets.py b/Lib/lib-tk/test/test_ttk/test_widgets.py
index 913ccb4..4f6f44d 100644
--- a/Lib/lib-tk/test/test_ttk/test_widgets.py
+++ b/Lib/lib-tk/test/test_ttk/test_widgets.py
@@ -861,9 +861,9 @@ class TreeviewTest(unittest.TestCase):
# bad values
self.failUnlessRaises(Tkinter.TclError,
- self.tv.reattach, 'nonexistant', '', 'end')
+ self.tv.reattach, 'nonexistent', '', 'end')
self.failUnlessRaises(Tkinter.TclError,
- self.tv.detach, 'nonexistant')
+ self.tv.detach, 'nonexistent')
self.failUnlessRaises(Tkinter.TclError,
self.tv.reattach, item2, 'otherparent', 'end')
self.failUnlessRaises(Tkinter.TclError,
@@ -897,7 +897,7 @@ class TreeviewTest(unittest.TestCase):
self.tv.delete(item1)
self.failUnlessEqual(self.tv.focus(), '')
- # try focusing inexistant item
+ # try focusing inexistent item
self.failUnlessRaises(Tkinter.TclError, self.tv.focus, 'hi')
@@ -1064,11 +1064,11 @@ class TreeviewTest(unittest.TestCase):
self.failUnlessEqual(self.tv.item(item, values=None), (123, 'a'))
self.failUnlessEqual(self.tv.set(item), {'B': 123})
- # inexistant column
+ # inexistent column
self.failUnlessRaises(Tkinter.TclError, self.tv.set, item, 'A')
self.failUnlessRaises(Tkinter.TclError, self.tv.set, item, 'A', 'b')
- # inexistant item
+ # inexistent item
self.failUnlessRaises(Tkinter.TclError, self.tv.set, 'notme')