diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2013-06-29 22:22:02 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2013-06-29 22:22:02 (GMT) |
commit | e4e530e7e8fa6883e553c898ea063dae82535fd1 (patch) | |
tree | ff725a96f577998e6b47bcc18d92469e48d98bf0 /Lib/test | |
parent | c4565a95244f45fc8868816d62a43764bb678e11 (diff) | |
download | cpython-e4e530e7e8fa6883e553c898ea063dae82535fd1.zip cpython-e4e530e7e8fa6883e553c898ea063dae82535fd1.tar.gz cpython-e4e530e7e8fa6883e553c898ea063dae82535fd1.tar.bz2 |
Issue #18103: Update README.txt and test_idle to describe and run gui tests.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_idle.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_idle.py b/Lib/test/test_idle.py index 1acd676..5f16e2b 100644 --- a/Lib/test/test_idle.py +++ b/Lib/test/test_idle.py @@ -10,5 +10,10 @@ idletest = import_module('idlelib.idle_test') load_tests = idletest.load_tests if __name__ == '__main__': + # Until unittest supports resources, we emulate regrtest's -ugui + # so loaded tests run the same as if textually present here. + # If any Idle test ever needs another resource, add it to the list. + from test import support + support.use_resources = ['gui'] # use_resources is initially None import unittest unittest.main(verbosity=2, exit=False) |