Issue #10734: Fix and re-enable test_ttk test_heading_callback.

This commit is contained in:
Serhiy Storchaka 2013-11-02 10:54:31 +02:00
parent 758c521ea8
commit 007c0477f5

View file

@ -1369,12 +1369,10 @@ def test_heading(self):
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