[Python-checkins] cpython (merge 3.3 -> default): Issue #10734: Fix and re-enable test_ttk test_heading_callback.

serhiy.storchaka python-checkins at python.org
Sat Nov 2 09:55:29 CET 2013


http://hg.python.org/cpython/rev/f647a2c5f290
changeset:   86840:f647a2c5f290
parent:      86837:e92bba5b53db
parent:      86839:a58fce53e873
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Sat Nov 02 10:54:58 2013 +0200
summary:
  Issue #10734: Fix and re-enable test_ttk test_heading_callback.

files:
  Lib/tkinter/test/test_ttk/test_widgets.py |  4 +---
  1 files changed, 1 insertions(+), 3 deletions(-)


diff --git a/Lib/tkinter/test/test_ttk/test_widgets.py b/Lib/tkinter/test/test_ttk/test_widgets.py
--- a/Lib/tkinter/test/test_ttk/test_widgets.py
+++ b/Lib/tkinter/test/test_ttk/test_widgets.py
@@ -1369,12 +1369,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