]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #10734: Fix and re-enable test_ttk test_heading_callback.
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 2 Nov 2013 08:54:31 +0000 (10:54 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 2 Nov 2013 08:54:31 +0000 (10:54 +0200)
Lib/tkinter/test/test_ttk/test_widgets.py

index 807b57da5d484541297ac47d52c6dba38a674d1e..55dc2f080b1731593bb3546e2763a5e02e1cbf44 100644 (file)
@@ -1369,12 +1369,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