summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/test/test_tkinter/test_loadtk.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-10-13 16:12:48 (GMT)
committerGitHub <noreply@github.com>2021-10-13 16:12:48 (GMT)
commitf59ed3c310a7ceebf2a56a84ea969a7f75d95b64 (patch)
tree4756eaa88c988fe35f1742d1907e819095d8b5b0 /Lib/tkinter/test/test_tkinter/test_loadtk.py
parent676201a59f90caace606d11d4172aa74c1cd4992 (diff)
downloadcpython-f59ed3c310a7ceebf2a56a84ea969a7f75d95b64.zip
cpython-f59ed3c310a7ceebf2a56a84ea969a7f75d95b64.tar.gz
cpython-f59ed3c310a7ceebf2a56a84ea969a7f75d95b64.tar.bz2
bpo-45229: Make tkinter tests discoverable (GH-28637)
Diffstat (limited to 'Lib/tkinter/test/test_tkinter/test_loadtk.py')
-rw-r--r--Lib/tkinter/test/test_tkinter/test_loadtk.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/tkinter/test/test_tkinter/test_loadtk.py b/Lib/tkinter/test/test_tkinter/test_loadtk.py
index 760ba72..61b0eda 100644
--- a/Lib/tkinter/test/test_tkinter/test_loadtk.py
+++ b/Lib/tkinter/test/test_tkinter/test_loadtk.py
@@ -41,7 +41,6 @@ class TkLoadTest(unittest.TestCase):
self.assertRaises(TclError, tcl.winfo_geometry)
self.assertRaises(TclError, tcl.loadtk)
-tests_gui = (TkLoadTest, )
if __name__ == "__main__":
- test_support.run_unittest(*tests_gui)
+ unittest.main()