]> granicus.if.org Git - python/commitdiff
Issue #10734: Fix and re-enable test_ttk test_heading_callback.
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 2 Nov 2013 08:54:17 +0000 (10:54 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 2 Nov 2013 08:54:17 +0000 (10:54 +0200)
Lib/lib-tk/test/test_ttk/test_widgets.py

index 7c0a5f18d0373edea3d1306e1842af5ea39b9ac5..86e8732a7ea99e6a85f3eac43f6ba829e67fa903 100644 (file)
@@ -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