aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/tkinter/test/test_tkinter/test_images.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-10-13 19:12:48 +0300
committerGitHub <noreply@github.com>2021-10-13 18:12:48 +0200
commitf59ed3c310a7ceebf2a56a84ea969a7f75d95b64 (patch)
tree4756eaa88c988fe35f1742d1907e819095d8b5b0 /Lib/tkinter/test/test_tkinter/test_images.py
parent676201a59f90caace606d11d4172aa74c1cd4992 (diff)
downloadcpython-f59ed3c310a7ceebf2a56a84ea969a7f75d95b64.tar.gz
cpython-f59ed3c310a7ceebf2a56a84ea969a7f75d95b64.zip
bpo-45229: Make tkinter tests discoverable (GH-28637)
Diffstat (limited to 'Lib/tkinter/test/test_tkinter/test_images.py')
-rw-r--r--Lib/tkinter/test/test_tkinter/test_images.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/tkinter/test/test_tkinter/test_images.py b/Lib/tkinter/test/test_tkinter/test_images.py
index c7b468044d5..cc69ccac62d 100644
--- a/Lib/tkinter/test/test_tkinter/test_images.py
+++ b/Lib/tkinter/test/test_tkinter/test_images.py
@@ -376,7 +376,5 @@ class PhotoImageTest(AbstractTkTest, unittest.TestCase):
self.assertEqual(image.transparency_get(4, 6), False)
-tests_gui = (MiscTest, DefaultRootTest, BitmapImageTest, PhotoImageTest,)
-
if __name__ == "__main__":
- support.run_unittest(*tests_gui)
+ unittest.main()