bpo-45229: Make tkinter tests discoverable (GH-28637) (GH-28927)

(cherry picked from commit f59ed3c310)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
Miss Islington (bot) 2021-10-13 09:59:04 -07:00 committed by GitHub
parent 5abb2dec2c
commit 151234f5da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 496 additions and 604 deletions

View file

@ -2,7 +2,7 @@
import unittest
import tkinter
from tkinter import ttk
from test.support import requires, run_unittest, gc_collect
from test.support import requires, gc_collect
from tkinter.test.support import AbstractTkTest, AbstractDefaultRootTest
requires('gui')
@ -308,7 +308,5 @@ def test_labeledscale(self):
self._test_widget(ttk.LabeledScale)
tests_gui = (LabeledScaleTest, OptionMenuTest, DefaultRootTest)
if __name__ == "__main__":
run_unittest(*tests_gui)
unittest.main()