summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-11-05 20:02:17 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-11-05 20:02:17 (GMT)
commit24f125871bbe297f72991f7f15ea668ff4a874e5 (patch)
tree15e4b1fb4bd5b36e108dad55b874d170dae1c760 /Lib/tkinter
parent96c01686aac9e0b3cc606b7328268985d2b1fb85 (diff)
parent7c934da0ffc663bb2acdb2f0de20eb20ed3fc839 (diff)
downloadcpython-24f125871bbe297f72991f7f15ea668ff4a874e5.zip
cpython-24f125871bbe297f72991f7f15ea668ff4a874e5.tar.gz
cpython-24f125871bbe297f72991f7f15ea668ff4a874e5.tar.bz2
Revert wrong change in previous commit (issue #19085).
Diffstat (limited to 'Lib/tkinter')
-rw-r--r--Lib/tkinter/test/test_tkinter/test_widgets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tkinter/test/test_tkinter/test_widgets.py b/Lib/tkinter/test/test_tkinter/test_widgets.py
index 1e955ca..c154b3b 100644
--- a/Lib/tkinter/test/test_tkinter/test_widgets.py
+++ b/Lib/tkinter/test/test_tkinter/test_widgets.py
@@ -337,7 +337,7 @@ class EntryTest(AbstractWidgetTest, unittest.TestCase):
if pixels_round(0.9) <= 0:
self.checkParam(widget, 'insertwidth', 0.9, expected=2)
else:
- self.checkParam(widget, 'insertwidth', 0.9)
+ self.checkParam(widget, 'insertwidth', 0.9, expected=1)
def test_invalidcommand(self):
widget = self.create()