From: Serhiy Storchaka Date: Sun, 3 Nov 2013 16:24:31 +0000 (+0200) Subject: Issue #19085: Fixed pixels rounding for last Tk patchlevels. X-Git-Tag: v3.4.0b1~412^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b2817327b91274af254dc4fe391fbc488368bfeb;p=thirdparty%2FPython%2Fcpython.git Issue #19085: Fixed pixels rounding for last Tk patchlevels. --- diff --git a/Lib/tkinter/test/widget_tests.py b/Lib/tkinter/test/widget_tests.py index f9910b09fab1..83db28b8afe4 100644 --- a/Lib/tkinter/test/widget_tests.py +++ b/Lib/tkinter/test/widget_tests.py @@ -11,7 +11,7 @@ noconv = str if tcl_version < (8, 5) else False _sentinel = object() class AbstractWidgetTest: - _conv_pixels = round if tcl_version[:2] != (8, 5) else int + _conv_pixels = round _conv_pad_pixels = None wantobjects = True