Author martin.panter
Recipients martin.panter, serhiy.storchaka, terry.reedy
Date 2016-07-25.02:07:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
$ ./python -m unittest -v test.test_{idle,tix}
. . .
test_tix (unittest.loader._FailedTest) ... ERROR

ERROR: test_tix (unittest.loader._FailedTest)
ImportError: Failed to import test module: test_tix
Traceback (most recent call last):
  File "/media/disk/home/proj/python/cpython/Lib/unittest/", line 153, in loadTestsFromName
    module = __import__(module_name)
  File "/media/disk/home/proj/python/cpython/Lib/test/", line 11, in <module>
    from tkinter import tix, TclError
  File "/media/disk/home/proj/python/cpython/Lib/tkinter/", line 30, in <module>
    from tkinter import _cnfmerge, _default_root
ImportError: cannot import name '_default_root'

Without test_idle, test_tix is skipped for me:

$ ./python -m unittest -v test.test_tix
test_tix_available (test.test_tix.TestTix) ... skipped 'Tix not available'

Reverting to before revision 064b29dde096 (Issue 24137) also fixes the failure.
Date User Action Args
2016-07-25 02:07:16martin.pantersetrecipients: + martin.panter, terry.reedy, serhiy.storchaka
2016-07-25 02:07:16martin.pantersetmessageid: <>
2016-07-25 02:07:16martin.panterlinkissue27611 messages
2016-07-25 02:07:16martin.pantercreate