]> granicus.if.org Git - python/commit
bpo-33855: Minimally test all IDLE modules. (GH-7689)
authorTerry Jan Reedy <tjreedy@udel.edu>
Fri, 15 Jun 2018 22:20:55 +0000 (18:20 -0400)
committerGitHub <noreply@github.com>
Fri, 15 Jun 2018 22:20:55 +0000 (18:20 -0400)
commitee5ef309c7e2daef1248730145408f700732c42e
treeb2de419dbdaf439eacb2295e767882384469d5fe
parent6c5a4b315664f21bffc36ff6987fb4c4d1590897
bpo-33855: Minimally test all IDLE modules. (GH-7689)

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.
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]