diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-10-13 16:59:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 16:59:04 (GMT) |
commit | 151234f5da4b1922e3d91233a6eddda92d7269b0 (patch) | |
tree | bcaf5ece5161c10f2ff9bf5bab5358e0de3b3a6e /Lib/tkinter/test/test_tkinter/test_variables.py | |
parent | 5abb2dec2cf147ce71cd15bcfda1bd095818f222 (diff) | |
download | cpython-151234f5da4b1922e3d91233a6eddda92d7269b0.zip cpython-151234f5da4b1922e3d91233a6eddda92d7269b0.tar.gz cpython-151234f5da4b1922e3d91233a6eddda92d7269b0.tar.bz2 |
bpo-45229: Make tkinter tests discoverable (GH-28637) (GH-28927)
(cherry picked from commit f59ed3c310a7ceebf2a56a84ea969a7f75d95b64)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/tkinter/test/test_tkinter/test_variables.py')
-rw-r--r-- | Lib/tkinter/test/test_tkinter/test_variables.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Lib/tkinter/test/test_tkinter/test_variables.py b/Lib/tkinter/test/test_tkinter/test_variables.py index 0be5282..427e168 100644 --- a/Lib/tkinter/test/test_tkinter/test_variables.py +++ b/Lib/tkinter/test/test_tkinter/test_variables.py @@ -338,10 +338,5 @@ class DefaultRootTest(AbstractDefaultRootTest, unittest.TestCase): self.assertRaises(RuntimeError, Variable) -tests_gui = (TestVariable, TestStringVar, TestIntVar, - TestDoubleVar, TestBooleanVar, DefaultRootTest) - - if __name__ == "__main__": - from test.support import run_unittest - run_unittest(*tests_gui) + unittest.main() |