[issue8921] 2.7rc1: test_ttk failures on OSX 10.4

Sridhar Ratnakumar report at bugs.python.org
Sun Jun 6 20:02:53 CEST 2010


New submission from Sridhar Ratnakumar <sridharr at activestate.com>:

Several test_ttk failures on OSX 10.4 (w/ Tcl/Tk 8.5 installed in /Library/Frameworks) and Python 2.7rc1

======================================================================
ERROR: test_tab_identifiers (test_ttk.test_widgets.NotebookTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/test/test_ttk/test_widgets
.py", line 560, in test_tab_identifiers
    self.assertEqual(self.nb.tab('@5,5'), self.nb.tab('current'))
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/ttk.py", line 922, in tab
    return _val_or_dict(kw, self.tk.call, self._w, "tab", tab_id)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/ttk.py", line 318, in _val
_or_dict
    res = func(*(args + options))
TclError: tab '@5,5' not found

======================================================================
FAIL: test_identify (test_ttk.test_widgets.WidgetTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/test/test_ttk/test_widgets
.py", line 27, in test_identify
    self.assertEqual(self.widget.identify(5, 5), "label")
AssertionError: 'Button.button' != 'label'

======================================================================
FAIL: test_traversal (test_ttk.test_widgets.NotebookTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/test/test_ttk/test_widgets
.py", line 721, in test_traversal
    self.assertEqual(self.nb.select(), str(self.child1))
AssertionError: '.73168616' != '.73169536'

----------------------------------------------------------------------

----------
assignee: ronaldoussoren
components: Macintosh, Tests, Tkinter
messages: 107199
nosy: ronaldoussoren, srid
priority: normal
severity: normal
status: open
title: 2.7rc1: test_ttk failures on OSX 10.4
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8921>
_______________________________________


More information about the Python-bugs-list mailing list