Remove tests_gui variables from Tkinter tests (GH-118280)

They were only used in runtktests.py which was removed in
f59ed3c310 (bpo-45229).
This commit is contained in:
Serhiy Storchaka 2024-04-25 19:27:51 +03:00 committed by GitHub
parent 5da0280648
commit c379de224c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 20 deletions

View File

@ -893,9 +893,5 @@ class GridTest(AbstractWidgetTest, unittest.TestCase):
self.assertEqual(self.root.grid_slaves(row=1, column=1), [d, c])
tests_gui = (
PackTest, PlaceTest, GridTest,
)
if __name__ == '__main__':
unittest.main()

View File

@ -1479,13 +1479,5 @@ class DefaultRootTest(AbstractDefaultRootTest, unittest.TestCase):
self._test_widget(tkinter.Label)
tests_gui = (
ButtonTest, CanvasTest, CheckbuttonTest, EntryTest,
FrameTest, LabelFrameTest,LabelTest, ListboxTest,
MenubuttonTest, MenuTest, MessageTest, OptionMenuTest,
PanedWindowTest, RadiobuttonTest, ScaleTest, ScrollbarTest,
SpinboxTest, TextTest, ToplevelTest, DefaultRootTest,
)
if __name__ == '__main__':
unittest.main()

View File

@ -1879,13 +1879,5 @@ class DefaultRootTest(AbstractDefaultRootTest, unittest.TestCase):
self._test_widget(ttk.Label)
tests_gui = (
ButtonTest, CheckbuttonTest, ComboboxTest, EntryTest,
FrameTest, LabelFrameTest, LabelTest, MenubuttonTest,
NotebookTest, PanedWindowTest, ProgressbarTest,
RadiobuttonTest, ScaleTest, ScrollbarTest, SeparatorTest,
SizegripTest, SpinboxTest, TreeviewTest, WidgetTest, DefaultRootTest,
)
if __name__ == "__main__":
unittest.main()