Issue #18409: Idle: add unittest for AutoComplete. Patch by Phil Webster.

This commit is contained in:
Terry Jan Reedy 2014-06-03 20:54:21 -04:00
parent 3f9535b7f8
commit e3fcfc240d
5 changed files with 186 additions and 4 deletions

View file

@ -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)