]> 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:04 +0000 (18:24 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 3 Nov 2013 16:24:04 +0000 (18:24 +0200)
Lib/lib-tk/test/widget_tests.py

index a4fafffa4542e3d6955e5efe11d16522651f88e0..7402d91f2d7cc1ef619cfbe848ee38edaa495857 100644 (file)
@@ -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