mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
bpo-45229: Make tkinter tests discoverable (GH-28637)
This commit is contained in:
parent
676201a59f
commit
f59ed3c310
18 changed files with 496 additions and 604 deletions
|
|
@ -3,7 +3,7 @@
|
|||
import tkinter
|
||||
from tkinter import ttk
|
||||
from test import support
|
||||
from test.support import requires, run_unittest
|
||||
from test.support import requires
|
||||
from tkinter.test.support import AbstractTkTest
|
||||
|
||||
requires('gui')
|
||||
|
|
@ -175,7 +175,5 @@ def test_map_custom_copy(self):
|
|||
self.assertEqual(style.map(newname, key), value)
|
||||
|
||||
|
||||
tests_gui = (StyleTest, )
|
||||
|
||||
if __name__ == "__main__":
|
||||
run_unittest(*tests_gui)
|
||||
unittest.main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue