]> granicus.if.org Git - python/commitdiff
Fix typo in tkinter tests (issue #19085).
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 5 Nov 2013 18:17:50 +0000 (20:17 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 5 Nov 2013 18:17:50 +0000 (20:17 +0200)
Lib/tkinter/test/widget_tests.py

index e488565087155a6864ae098cfe8f4f9b23488cc2..c94dbd3118a0215d1fda80fb3d4829d1913bea5f 100644 (file)
@@ -22,7 +22,7 @@ if tcl_version[:2] == (8, 5):
             if patchlevel < (8, 5, 12):
                 _pixels_round = int
             else:
-                _pixels_round = int_round
+                _pixels_round = round
         return _pixels_round(x)