mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #18492: Allow all resources when tests are not run by regrtest.py.
This changeset also includes cleanup allowed by this behavior change.
This commit is contained in:
parent
8dd49fe09f
commit
66f2928479
14 changed files with 37 additions and 59 deletions
|
@ -13,8 +13,4 @@ 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.
|
||||
support.use_resources = ['gui'] # use_resources is initially None
|
||||
unittest.main(verbosity=2, exit=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue