From: Serhiy Storchaka Date: Sat, 2 Nov 2013 08:54:17 +0000 (+0200) Subject: Issue #10734: Fix and re-enable test_ttk test_heading_callback. X-Git-Tag: v2.7.8~309 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=090b6b1baf0f976cea93d5a697d26e09ea855b38;p=thirdparty%2FPython%2Fcpython.git Issue #10734: Fix and re-enable test_ttk test_heading_callback. --- diff --git a/Lib/lib-tk/test/test_ttk/test_widgets.py b/Lib/lib-tk/test/test_ttk/test_widgets.py index 7c0a5f18d037..86e8732a7ea9 100644 --- a/Lib/lib-tk/test/test_ttk/test_widgets.py +++ b/Lib/lib-tk/test/test_ttk/test_widgets.py @@ -1370,12 +1370,10 @@ class TreeviewTest(AbstractWidgetTest, unittest.TestCase): 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