[issue9899] tkinter test_font fails on OS X with Aqua Tk
Antoine Pitrou
report at bugs.python.org
Sun Sep 26 14:31:48 CEST 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
Actually, most buildbots were fixed but a couple of them still show a problem:
test_font_eq (tkinter.test.test_tkinter.test_font.FontTest) ... ERROR
testLoadTk (tkinter.test.test_tkinter.test_loadtk.TkLoadTest) ... skipped 'No $DISPLAY set.'
testLoadTkFailure (tkinter.test.test_tkinter.test_loadtk.TkLoadTest) ... ok
test_search (tkinter.test.test_tkinter.test_text.TextTest) ... ok
======================================================================
ERROR: test_font_eq (tkinter.test.test_tkinter.test_font.FontTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/tkinter/test/test_tkinter/test_font.py", line 18, in test_font_eq
font1 = font.nametofont("TkDefaultFont")
File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/tkinter/font.py", line 22, in nametofont
return Font(name=name, exists=True)
File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/tkinter/font.py", line 83, in __init__
"named font %s does not already exist" % (self.name,))
_tkinter.TclError: named font TkDefaultFont does not already exist
Intriguingly, when the test gets re-run at the end of the test suite, the test succeeds.
Does it depend on another initialization that is done in another test file?
----------
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9899>
_______________________________________
More information about the Python-bugs-list
mailing list