[Python-checkins] cpython (2.7): Issue #10734: Fix and re-enable test_ttk test_heading_callback.
serhiy.storchaka
python-checkins at python.org
Sat Nov 2 09:55:26 CET 2013
http://hg.python.org/cpython/rev/0554e2d37bf8
changeset: 86838:0554e2d37bf8
branch: 2.7
parent: 86836:ced345326151
user: Serhiy Storchaka <storchaka at gmail.com>
date: Sat Nov 02 10:54:17 2013 +0200
summary:
Issue #10734: Fix and re-enable test_ttk test_heading_callback.
files:
Lib/lib-tk/test/test_ttk/test_widgets.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/Lib/lib-tk/test/test_ttk/test_widgets.py b/Lib/lib-tk/test/test_ttk/test_widgets.py
--- a/Lib/lib-tk/test/test_ttk/test_widgets.py
+++ b/Lib/lib-tk/test/test_ttk/test_widgets.py
@@ -1370,12 +1370,10 @@
self.assertRaises(Tkinter.TclError, self.tv.heading, '#0',
anchor=1)
- # XXX skipping for now; should be fixed to work with newer ttk
- @unittest.skip("skipping pending resolution of Issue #10734")
def test_heading_callback(self):
def simulate_heading_click(x, y):
support.simulate_mouse_click(self.tv, x, y)
- self.tv.update_idletasks()
+ self.tv.update()
success = [] # no success for now
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list