[Python-checkins] cpython (2.7): Issue #19085: Fixed pixels rounding for last Tk patchlevels.

serhiy.storchaka python-checkins at python.org
Sun Nov 3 17:26:08 CET 2013


http://hg.python.org/cpython/rev/a34889a30d52
changeset:   86884:a34889a30d52
branch:      2.7
parent:      86875:b3178d03871b
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Sun Nov 03 18:24:04 2013 +0200
summary:
  Issue #19085: Fixed pixels rounding for last Tk patchlevels.

files:
  Lib/lib-tk/test/widget_tests.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/lib-tk/test/widget_tests.py b/Lib/lib-tk/test/widget_tests.py
--- a/Lib/lib-tk/test/widget_tests.py
+++ b/Lib/lib-tk/test/widget_tests.py
@@ -14,7 +14,7 @@
 _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
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list