diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2015-04-22 05:36:03 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-04-22 05:36:03 (GMT) |
| commit | 462c357d70cf499f82349c6839c624e4f3026a49 (patch) | |
| tree | 5603e559fd70655a77f7fc50a5bf5972525c5e9e /Lib/tkinter/test/test_ttk/test_widgets.py | |
| parent | 333518e01df0ce011962ca8629e766a59316e1cb (diff) | |
| download | cpython-462c357d70cf499f82349c6839c624e4f3026a49.zip cpython-462c357d70cf499f82349c6839c624e4f3026a49.tar.gz cpython-462c357d70cf499f82349c6839c624e4f3026a49.tar.bz2 | |
Fixed full Tcl version parsing in tests for pre-final versions.
Diffstat (limited to 'Lib/tkinter/test/test_ttk/test_widgets.py')
| -rw-r--r-- | Lib/tkinter/test/test_ttk/test_widgets.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/tkinter/test/test_ttk/test_widgets.py b/Lib/tkinter/test/test_ttk/test_widgets.py index 8a27324..9153c00 100644 --- a/Lib/tkinter/test/test_ttk/test_widgets.py +++ b/Lib/tkinter/test/test_ttk/test_widgets.py @@ -20,7 +20,7 @@ class StandardTtkOptionsTests(StandardOptionsTests): widget = self.create() self.assertEqual(widget['class'], '') errmsg='attempt to change read-only option' - if get_tk_patchlevel() < (8, 6, 0): # actually this was changed in 8.6b3 + if get_tk_patchlevel() < (8, 6, 0, 'beta', 3): errmsg='Attempt to change read-only option' self.checkInvalidParam(widget, 'class', 'Foo', errmsg=errmsg) widget2 = self.create(class_='Foo') @@ -551,7 +551,7 @@ class PanedWindowTest(AbstractWidgetTest, unittest.TestCase): widget = self.create() self.assertEqual(str(widget['orient']), 'vertical') errmsg='attempt to change read-only option' - if get_tk_patchlevel() < (8, 6, 0): # actually this was changed in 8.6b3 + if get_tk_patchlevel() < (8, 6, 0, 'beta', 3): errmsg='Attempt to change read-only option' self.checkInvalidParam(widget, 'orient', 'horizontal', errmsg=errmsg) |
