]> granicus.if.org Git - python/commitdiff
Issue #19085: Fixed pixels rounding for last Tk patchlevels.
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 3 Nov 2013 16:24:31 +0000 (18:24 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 3 Nov 2013 16:24:31 +0000 (18:24 +0200)
Lib/tkinter/test/widget_tests.py

index f9910b09fab1c48437bfb36e73421f9d280012d5..83db28b8afe4a43c530392a2c88f2a5e4f247c42 100644 (file)
@@ -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