diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-04-23 07:57:15 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-04-23 07:57:15 (GMT) |
commit | dacd7d0cd6c75145dac810b886404f727a4a4a28 (patch) | |
tree | 180e0eeff06130ca312b8f610e7998fe4cd70772 /Lib/lib-tk | |
parent | 6294d9f5f0855d32533dc3958f777d670b482fee (diff) | |
download | cpython-dacd7d0cd6c75145dac810b886404f727a4a4a28.zip cpython-dacd7d0cd6c75145dac810b886404f727a4a4a28.tar.gz cpython-dacd7d0cd6c75145dac810b886404f727a4a4a28.tar.bz2 |
Use more precise Tcl version checks in tests.
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r-- | Lib/lib-tk/test/test_tkinter/test_widgets.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-tk/test/test_tkinter/test_widgets.py b/Lib/lib-tk/test/test_tkinter/test_widgets.py index efb9a05..1916e34 100644 --- a/Lib/lib-tk/test/test_tkinter/test_widgets.py +++ b/Lib/lib-tk/test/test_tkinter/test_widgets.py @@ -1037,7 +1037,7 @@ class PanedWindowTest(AbstractWidgetTest, unittest.TestCase): def test_paneconfigure_height(self): p, b, c = self.create2() self.check_paneconfigure(p, b, 'height', 10, 10, - stringify=tcl_version < (8, 5)) + stringify=get_tk_patchlevel() < (8, 5, 11)) self.check_paneconfigure_bad(p, b, 'height', 'bad screen distance "badValue"') @@ -1085,7 +1085,7 @@ class PanedWindowTest(AbstractWidgetTest, unittest.TestCase): def test_paneconfigure_width(self): p, b, c = self.create2() self.check_paneconfigure(p, b, 'width', 10, 10, - stringify=tcl_version < (8, 5)) + stringify=get_tk_patchlevel() < (8, 5, 11)) self.check_paneconfigure_bad(p, b, 'width', 'bad screen distance "badValue"') |