[issue5120] Disabling test_ttk_guionly on mac
STINNER Victor
report at bugs.python.org
Tue Apr 5 02:59:08 CEST 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
ttk_guionly creates a button (ttk.Button()) which calls _load_tile(), which crashs on: master.tk.eval('package require tile')
Code of the function:
-------------------------
def _load_tile(master):
if _REQUIRE_TILE:
import os
tilelib = os.environ.get('TILE_LIBRARY')
if tilelib:
# append custom tile path to the the list of directories that
# Tcl uses when attempting to resolve packages with the package
# command
master.tk.eval(
'global auto_path; '
'lappend auto_path {%s}' % tilelib)
master.tk.eval('package require tile') # TclError may be raised here
master._tile_loaded = True
-------------------------
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5120>
_______________________________________
More information about the Python-bugs-list
mailing list