summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/IdleHistory.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/idlelib/IdleHistory.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/idlelib/IdleHistory.py')
-rw-r--r--Lib/idlelib/IdleHistory.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/idlelib/IdleHistory.py b/Lib/idlelib/IdleHistory.py
index d6cb162..078af29 100644
--- a/Lib/idlelib/IdleHistory.py
+++ b/Lib/idlelib/IdleHistory.py
@@ -100,7 +100,5 @@ class History:
self.prefix = None
if __name__ == "__main__":
- from test import support
- support.use_resources = ['gui']
from unittest import main
main('idlelib.idle_test.test_idlehistory', verbosity=2, exit=False)