Terry J. Reedy added the comment:
Well, that is annoying. I expected 2.7 failures due to mistakes already
corrected, but not with 3.x, and these look to be the latter.
======================================================================
ERROR: setUpClass (idlelib.idle_test.test_text.TkTextTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/buildbot/buildarea/3.x.coghlan-redhat/build/Lib/idlelib/idle_test/test_text.py",
line 219, in setUpClass
cls.root = Tk()
File
"/home/buildbot/buildarea/3.x.coghlan-redhat/build/Lib/tkinter/__init__.py",
line 1789, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive,
wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable
I do not get this on my system, and I just retried with
F:\Python\dev\py34\PCbuild>python_d -m test -v -ugui test_idle
and that works.
I did get a test_idle failure running all tests
and a crash with test_marshal in test_bad_reader
(test.test_marshal.BugsTestCase)
so I am rerunning with -v. This claims the problem is
_tkinter.TclError: Can't find a usable init.tcl in the following directories:
This is followed by a list of non-existent directories that omits the one what
it actually is and where it is routinely found and it obviously was on the
previous run with only test_idle run.
What puzzles me is that both buildbots skipped test_tk and test_ttk_guionly,
which suggests that they do not have -ugui, (Nick, one of these is yours) which
means they should not have ever called tkinter. On my machine,
requires('gui')
works to stop the tkinter test case from running when I omit -ugui.
----------
nosy: +ncoghlan
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue18365>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com