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/autoexpand.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/idlelib/autoexpand.py') diff --git a/Lib/idlelib/autoexpand.py b/Lib/idlelib/autoexpand.py index 42e733a1a9e..92f5c84eb6f 100644 --- a/Lib/idlelib/autoexpand.py +++ b/Lib/idlelib/autoexpand.py @@ -92,5 +92,5 @@ class AutoExpand: if __name__ == '__main__': - import unittest - unittest.main('idlelib.idle_test.test_autoexpand', verbosity=2) + from unittest import main + main('idlelib.idle_test.test_autoexpand', verbosity=2) -- cgit v1.2.3