diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-06-04 00:54:21 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-06-04 00:54:21 (GMT) |
commit | e3fcfc240d834083ebe05b6ca2faae5988b8477e (patch) | |
tree | e83552572251de6bfbdbd722f8601dfe4457a713 /Lib/idlelib/AutoComplete.py | |
parent | 3f9535b7f8cd6a136d392d6be845795522950486 (diff) | |
download | cpython-e3fcfc240d834083ebe05b6ca2faae5988b8477e.zip cpython-e3fcfc240d834083ebe05b6ca2faae5988b8477e.tar.gz cpython-e3fcfc240d834083ebe05b6ca2faae5988b8477e.tar.bz2 |
Issue #18409: Idle: add unittest for AutoComplete. Patch by Phil Webster.
Diffstat (limited to 'Lib/idlelib/AutoComplete.py')
-rw-r--r-- | Lib/idlelib/AutoComplete.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/idlelib/AutoComplete.py b/Lib/idlelib/AutoComplete.py index f366030..b20512d 100644 --- a/Lib/idlelib/AutoComplete.py +++ b/Lib/idlelib/AutoComplete.py @@ -226,3 +226,8 @@ class AutoComplete: namespace = sys.modules.copy() namespace.update(__main__.__dict__) return eval(name, namespace) + + +if __name__ == '__main__': + from unittest import main + main('idlelib.idle_test.test_autocomplete', verbosity=2) |