Linux users: please run gui tests

Petr Viktorin encukou at
Thu Aug 27 10:56:49 CEST 2015

On Fri, Aug 7, 2015 at 4:07 AM, Terry Reedy <tjreedy at> wrote:
> Python has an extensive test suite run after each 'batch' of commits on a
> variety of buildbots.  However, the Linux buildbots all (AFAIK) run
> 'headless', with gui's disabled.  Hence the following
> test_tk test_ttk_guionly test_idle
> (and on 3.5, test_tix, but not important)
> are skipped either in whole or in part.
> We are planning on adding the use of tkinter.ttk to Idle after the 3.5.0
> release, but a couple of other core developers have expressed concern about
> the reliability of tkinter.ttk on Linux.
> There is also an unresolved issue where test_ttk hung on Ubuntu Unity 3
> years ago.
> I would appreciate it if some people could run the linux version of
> py -3.4 -m test -ugui test_tk test_ttk_guionly test_idle
> (or 3.5).  I guess this means 'python3 for the executable.
> and report here python version, linux system, and result.
> Alteration of environment and locale is a known issue, skip that.

On Fedora 21, the tests pass (Python 3.4.1 and latest dev version).

On Fedora 23, I see:

$ python3 -V
Python 3.4.3
$ python3 -m test -ugui test_tk test_ttk_guionly test_idle
[1/3] test_tk
[2/3] test_ttk_guionly
[3/3] test_idle
All 3 tests OK.

$ ./python -V
Python 3.6.0a0
$ ./python -m test -ugui test_tk test_ttk_guionly test_idle
[1/3] test_tk
[2/3] test_ttk_guionly
[3/3] test_idle
test test_idle failed -- Traceback (most recent call last):
  File "/home/pviktori/dev/cpython/Lib/idlelib/idle_test/",
line 27, in test_dialog
    d=ConfigDialog(self.root, 'Test', _utest=True)
  File "/home/pviktori/dev/cpython/Lib/idlelib/", line
71, in __init__
  File "/home/pviktori/dev/cpython/Lib/idlelib/", line
1078, in LoadConfigs
  File "/home/pviktori/dev/cpython/Lib/idlelib/", line
980, in LoadFontCfg
  File "/home/pviktori/dev/cpython/Lib/idlelib/", line
858, in SetFontSample
  File "/home/pviktori/dev/cpython/Lib/tkinter/", line
1330, in configure
    return self._configure('configure', cnf, kw)
  File "/home/pviktori/dev/cpython/Lib/tkinter/", line
1321, in _configure, cmd)) + self._options(cnf))
_tkinter.TclError: expected integer but got ""

2 tests OK.
1 test failed:

Tk version: 8.6.4

More information about the Python-list mailing list