From: Serhiy Storchaka Date: Sun, 3 Nov 2013 16:24:04 +0000 (+0200) Subject: Issue #19085: Fixed pixels rounding for last Tk patchlevels. X-Git-Tag: v2.7.8~303 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68f518ce4a700854d3c9b0fef145b9af79883df9;p=python Issue #19085: Fixed pixels rounding for last Tk patchlevels. --- 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