From 4d92158f4c3917fc4fbfebff15224e74782abf79 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Tue, 19 Jun 2018 19:12:52 -0400 Subject: bpo-33855: Still more edits and minimal tests for IDLE (GH-7784) Part 3 of 3, continuing PR #7689. This covers 14 idlelib modules and their tests, rpc to zoomheight except for run (already done) and tooltip (being done separately). --- Lib/idlelib/runscript.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Lib/idlelib/runscript.py') diff --git a/Lib/idlelib/runscript.py b/Lib/idlelib/runscript.py index 45bf563458..83433b1cf0 100644 --- a/Lib/idlelib/runscript.py +++ b/Lib/idlelib/runscript.py @@ -193,3 +193,8 @@ class ScriptBinding: # XXX This should really be a function of EditorWindow... tkMessageBox.showerror(title, message, parent=self.editwin.text) self.editwin.text.focus_set() + + +if __name__ == "__main__": + from unittest import main + main('idlelib.idle_test.test_runscript', verbosity=2,) -- cgit v1.2.1