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

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


http://hg.python.org/cpython/rev/e7be7aceab77
changeset:   86886:e7be7aceab77
parent:      86883:fe828884a077
parent:      86885:dfdf47a9aad4
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Sun Nov 03 18:25:17 2013 +0200
summary:
  Issue #19085: Fixed pixels rounding for last Tk patchlevels.

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


diff --git a/Lib/tkinter/test/widget_tests.py b/Lib/tkinter/test/widget_tests.py
--- a/Lib/tkinter/test/widget_tests.py
+++ b/Lib/tkinter/test/widget_tests.py
@@ -11,7 +11,7 @@
 _sentinel = object()
 
 class AbstractWidgetTest:
-    _conv_pixels = round if tcl_version[:2] != (8, 5) else int
+    _conv_pixels = round
     _conv_pad_pixels = None
     wantobjects = True
 

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


More information about the Python-checkins mailing list