mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
* Renaming test_tk_* to test_ttk_* since that is what they are testing.
* Added ttk tests to the expected skips mapping just like where test_tcl was expected to be skipped too.
This commit is contained in:
parent
6785cf0169
commit
7a77ee88af
3 changed files with 20 additions and 2 deletions
17
Lib/test/test_ttk_textonly.py
Normal file
17
Lib/test/test_ttk_textonly.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import os
|
||||
import sys
|
||||
from test import test_support
|
||||
|
||||
this_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
lib_tk_test = os.path.abspath(os.path.join(this_dir, '..', 'lib-tk', 'test'))
|
||||
if lib_tk_test not in sys.path:
|
||||
sys.path.append(lib_tk_test)
|
||||
|
||||
import runtktests
|
||||
|
||||
def test_main():
|
||||
test_support.run_unittest(
|
||||
*runtktests.get_tests(gui=False, packages=['test_ttk']))
|
||||
|
||||
if __name__ == '__main__':
|
||||
test_main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue