mirror of https://github.com/python/cpython
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:
parent
5da0280648
commit
c379de224c
|
@ -893,9 +893,5 @@ class GridTest(AbstractWidgetTest, unittest.TestCase):
|
||||||
self.assertEqual(self.root.grid_slaves(row=1, column=1), [d, c])
|
self.assertEqual(self.root.grid_slaves(row=1, column=1), [d, c])
|
||||||
|
|
||||||
|
|
||||||
tests_gui = (
|
|
||||||
PackTest, PlaceTest, GridTest,
|
|
||||||
)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
|
@ -1479,13 +1479,5 @@ class DefaultRootTest(AbstractDefaultRootTest, unittest.TestCase):
|
||||||
self._test_widget(tkinter.Label)
|
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__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
|
@ -1879,13 +1879,5 @@ class DefaultRootTest(AbstractDefaultRootTest, unittest.TestCase):
|
||||||
self._test_widget(ttk.Label)
|
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__":
|
if __name__ == "__main__":
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
Loading…
Reference in New Issue