Commit 2e27ddd5 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Fixed typo.

parent 01109739
...@@ -21,7 +21,7 @@ class StandardTtkOptionsTests(StandardOptionsTests): ...@@ -21,7 +21,7 @@ class StandardTtkOptionsTests(StandardOptionsTests):
widget = self.create() widget = self.create()
self.assertEqual(widget['class'], '') self.assertEqual(widget['class'], '')
errmsg='attempt to change read-only option' errmsg='attempt to change read-only option'
if get_tk_patchlevel() < (8, 6, 0): # actually this was changen in 8.6b3 if get_tk_patchlevel() < (8, 6, 0): # actually this was changed in 8.6b3
errmsg='Attempt to change read-only option' errmsg='Attempt to change read-only option'
self.checkInvalidParam(widget, 'class', 'Foo', errmsg=errmsg) self.checkInvalidParam(widget, 'class', 'Foo', errmsg=errmsg)
widget2 = self.create(class_='Foo') widget2 = self.create(class_='Foo')
...@@ -577,7 +577,7 @@ class PanedWindowTest(AbstractWidgetTest, unittest.TestCase): ...@@ -577,7 +577,7 @@ class PanedWindowTest(AbstractWidgetTest, unittest.TestCase):
widget = self.create() widget = self.create()
self.assertEqual(str(widget['orient']), 'vertical') self.assertEqual(str(widget['orient']), 'vertical')
errmsg='attempt to change read-only option' errmsg='attempt to change read-only option'
if get_tk_patchlevel() < (8, 6, 0): # actually this was changen in 8.6b3 if get_tk_patchlevel() < (8, 6, 0): # actually this was changed in 8.6b3
errmsg='Attempt to change read-only option' errmsg='Attempt to change read-only option'
self.checkInvalidParam(widget, 'orient', 'horizontal', self.checkInvalidParam(widget, 'orient', 'horizontal',
errmsg=errmsg) errmsg=errmsg)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment