From 68f518ce4a700854d3c9b0fef145b9af79883df9 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sun, 3 Nov 2013 18:24:04 +0200 Subject: [PATCH] Issue #19085: Fixed pixels rounding for last Tk patchlevels. --- Lib/lib-tk/test/widget_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/lib-tk/test/widget_tests.py b/Lib/lib-tk/test/widget_tests.py index a4fafffa45..7402d91f2d 100644 --- a/Lib/lib-tk/test/widget_tests.py +++ b/Lib/lib-tk/test/widget_tests.py @@ -14,7 +14,7 @@ def int_round(x): _sentinel = object() class AbstractWidgetTest(object): - _conv_pixels = staticmethod(int_round if tcl_version[:2] != (8, 5) else int) + _conv_pixels = staticmethod(int_round) _conv_pad_pixels = None wantobjects = True -- 2.50.1