summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-11-03 16:24:31 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-11-03 16:24:31 (GMT)
commitb2817327b91274af254dc4fe391fbc488368bfeb (patch)
tree9725364125cfa3f1171a57b2d14816ee922026d3 /Lib/tkinter
parent49667f09a72a3a33e5e0598233ce5a3d971f52e9 (diff)
downloadcpython-b2817327b91274af254dc4fe391fbc488368bfeb.zip
cpython-b2817327b91274af254dc4fe391fbc488368bfeb.tar.gz
cpython-b2817327b91274af254dc4fe391fbc488368bfeb.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