]> granicus.if.org Git - python/commit
[3.6] bpo-33855: Minimally test all IDLE modules. (GH-7689) (GH-7734)
authorTerry Jan Reedy <tjreedy@udel.edu>
Sat, 16 Jun 2018 16:49:10 +0000 (12:49 -0400)
committerGitHub <noreply@github.com>
Sat, 16 Jun 2018 16:49:10 +0000 (12:49 -0400)
commit833b3d2dcc7043be20ac19f7821552fcb21f4365
tree985cf44c963ad6c82ac12559d71ffa0bebe37abf
parent5c23e21ef655db35af45ed98a62eb54bff64dbd0
[3.6] bpo-33855: Minimally test all IDLE modules. (GH-7689) (GH-7734)

Create a template for minimally testing a tkinter-using module by importing it and instantiating its class(es).  Add a test file for all non-startup IDLE modules.  Edit existing files and update coverage.  This is part 1 of 3, covering the 21 autocomplete to help modules and touching 33 idlelib files..
(cherry picked from commit ee5ef309c7e2daef1248730145408f700732c42e)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
34 files changed:
Lib/idlelib/autocomplete.py
Lib/idlelib/autocomplete_w.py
Lib/idlelib/calltip_w.py
Lib/idlelib/colorizer.py
Lib/idlelib/debugger.py
Lib/idlelib/debugger_r.py
Lib/idlelib/debugobj.py
Lib/idlelib/debugobj_r.py
Lib/idlelib/editor.py
Lib/idlelib/filelist.py
Lib/idlelib/grep.py
Lib/idlelib/help.py
Lib/idlelib/idle_test/template.py [new file with mode: 0644]
Lib/idlelib/idle_test/test_autocomplete.py
Lib/idlelib/idle_test/test_autocomplete_w.py [new file with mode: 0644]
Lib/idlelib/idle_test/test_autoexpand.py
Lib/idlelib/idle_test/test_browser.py
Lib/idlelib/idle_test/test_calltip_w.py [new file with mode: 0644]
Lib/idlelib/idle_test/test_calltips.py
Lib/idlelib/idle_test/test_codecontext.py
Lib/idlelib/idle_test/test_colorizer.py
Lib/idlelib/idle_test/test_config.py
Lib/idlelib/idle_test/test_config_key.py
Lib/idlelib/idle_test/test_configdialog.py
Lib/idlelib/idle_test/test_debugger.py
Lib/idlelib/idle_test/test_debugger_r.py [new file with mode: 0644]
Lib/idlelib/idle_test/test_debugobj.py [new file with mode: 0644]
Lib/idlelib/idle_test/test_debugobj_r.py [new file with mode: 0644]
Lib/idlelib/idle_test/test_delegator.py
Lib/idlelib/idle_test/test_editor.py
Lib/idlelib/idle_test/test_filelist.py [new file with mode: 0644]
Lib/idlelib/idle_test/test_grep.py
Lib/idlelib/idle_test/test_help.py
Misc/NEWS.d/next/IDLE/2018-06-14-11-35-50.bpo-33855.XL230W.rst [new file with mode: 0644]