summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-11-03 16:25:17 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-11-03 16:25:17 (GMT)
commit9fe43f5ff31328ec94473cc4fbec8adc9378977f (patch)
tree0158dfb7a6269b3d5a92eee7ea938cbb53d2faf4 /Lib/tkinter
parent4b1a875cddf8e2f77ebf743ada1c0162ddaf6e1e (diff)
parentb2817327b91274af254dc4fe391fbc488368bfeb (diff)
downloadcpython-9fe43f5ff31328ec94473cc4fbec8adc9378977f.zip
cpython-9fe43f5ff31328ec94473cc4fbec8adc9378977f.tar.gz
cpython-9fe43f5ff31328ec94473cc4fbec8adc9378977f.tar.bz2
Issue #19085: Fixed pixels rounding for last Tk patchlevels.
Diffstat (limited to 'Lib/tkinter')
-rw-r--r--Lib/tkinter/test/widget_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tkinter/test/widget_tests.py b/Lib/tkinter/test/widget_tests.py
index f9910b0..83db28b 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