[Python-checkins] cpython (3.3): Fix typo in tkinter tests (issue #19085).

serhiy.storchaka python-checkins at python.org
Tue Nov 5 19:18:57 CET 2013


http://hg.python.org/cpython/rev/d5d0356ba5ac
changeset:   86949:d5d0356ba5ac
branch:      3.3
parent:      86939:268dc81c2527
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Tue Nov 05 20:17:50 2013 +0200
summary:
  Fix typo in tkinter tests (issue #19085).

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
@@ -22,7 +22,7 @@
             if patchlevel < (8, 5, 12):
                 _pixels_round = int
             else:
-                _pixels_round = int_round
+                _pixels_round = round
         return _pixels_round(x)
 
 

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


More information about the Python-checkins mailing list