summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_idle.py
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2014-06-02 21:01:29 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2014-06-02 21:01:29 (GMT)
commit66f29284797c31190ad06554d9909d7ed8a894d1 (patch)
tree0388a5b7cd0084afc8ed45855bb16f0d631971e1 /Lib/test/test_idle.py
parent8dd49fe09fc4ac3b527914a0703c0dc0429aa125 (diff)
downloadcpython-66f29284797c31190ad06554d9909d7ed8a894d1.zip
cpython-66f29284797c31190ad06554d9909d7ed8a894d1.tar.gz
cpython-66f29284797c31190ad06554d9909d7ed8a894d1.tar.bz2
Issue #18492: Allow all resources when tests are not run by regrtest.py.
This changeset also includes cleanup allowed by this behavior change.
Diffstat (limited to 'Lib/test/test_idle.py')
-rw-r--r--Lib/test/test_idle.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_idle.py b/Lib/test/test_idle.py
index 2eb0e6e..141e89e 100644
--- a/Lib/test/test_idle.py
+++ b/Lib/test/test_idle.py
@@ -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)