[issue22260] Rearrange tkinter tests, use test discovery

Serhiy Storchaka report at bugs.python.org
Mon Aug 25 20:16:56 CEST 2014


Serhiy Storchaka added the comment:

Currently when I run

    DISPLAY= ./python -Wall -b -m test.regrtest -vu gui test_tcl test_tk test_ttk_textonly test_ttk_guionly

skipped tests are enumerated at the end of test log:

2 tests OK.
2 tests skipped:
    test_tk test_ttk_guionly

With the patch the result of

    DISPLAY= ./python -Wall -b -m test.regrtest -vuall test_tcl test_tkinter

is:

OK (skipped=33)
All 2 tests OK.

There is a difference. In first case it is clean that entire component is unusable on current platform or configuration. In second case entire test is reported as successfully passed in general, only several testcases are skipped, but their reports are lost in the middle of long log.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22260>
_______________________________________


More information about the Python-bugs-list mailing list