summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_calltips.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-33907: Rename an IDLE module and class. (GH-7807)Terry Jan Reedy2018-06-201-218/+0
| | | | Improve consistency and appearance. Module idlelib.calltips is now calltip. Class idlelib.calltip_w.CallTip is now Calltip.
* bpo-33855: Minimally test all IDLE modules. (GH-7689)Terry Jan Reedy2018-06-151-20/+36
| | | | 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.
* bpo-30397: Add re.Pattern and re.Match. (#1646)Serhiy Storchaka2017-10-041-1/+1
|
* bpo-19903: IDLE: Calltips changed to use inspect.signature (#2822)Louie Lu2017-08-101-12/+37
| | | | | Idlelib.calltips.get_argspec now uses inspect.signature instead of inspect.getfullargspec, like help() does. This improves the signature in the call tip in a few different cases, including builtins converted to provide a signature. A message is added if the object is not callable, has an invalid signature, or if it has positional-only parameters. Patch by Louie Lu.
* bpo-20185: Convert list object implementation to Argument Clinic. (#542)Serhiy Storchaka2017-03-111-4/+4
|
* Issue #24225: Within idlelib files, update idlelib module names.Terry Jan Reedy2016-05-281-1/+1
| | | | | | | | | | | | | | | | This follows the previous patch that changed idlelib file names. Class names that matched old module names are not changed. Change idlelib imports in turtledemo.__main__. Exception: config-extensions.def. Previously, extension section names, file names, and class names had to match. Changing section names would create cross-version conflicts in config-extensions.cfg (user customizations). Instead map old names to new file names at point of import in editor.EditorWindow.load_extension. Patch extensively tested with test_idle, idle_test.htest.py, a custom import-all test, running IDLE in a console to catch messages, and testing each menu item. Based on a patch by Al Sweigart.
* Issue #23825: Fixed test_idle under -OO.Serhiy Storchaka2015-04-041-7/+12
|
* Issue #20326: Argument Clinic now uses a simple, unique signature toLarry Hastings2014-01-281-2/+2
| | | | | | | | | | annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date).
* Merge with 3.3Terry Jan Reedy2014-01-271-0/+10
|\
| * Idlelib.calltips: add test of starred first parameters. They should not beTerry Jan Reedy2014-01-271-0/+10
| | | | | | | | removed even for bound methods. (Inspect.signature does, see 20401.)
* | White space and merge cleanup.Terry Jan Reedy2014-01-271-4/+0
| |
* | Merge with 3.3Terry Jan Reedy2014-01-271-0/+4
|\ \ | |/
* | Merge heads.Terry Jan Reedy2014-01-271-17/+31
|\ \
| * \ Issue #20338: Increase allowed tip width slightly and wrap long signagure lines.Terry Jan Reedy2014-01-271-8/+26
| |\ \ | | |/ | | | | | | Original patch by Serhiy Storchaka.
| | * Issue #20338: Increase allowed tip width slightly and wrap long signagure lines.Terry Jan Reedy2014-01-271-8/+24
| |/ | | | | | | Original patch by Serhiy Storchaka.
* | Issue #20189: Four additional builtin types (PyTypeObject,Larry Hastings2014-01-241-6/+9
|/ | | | | | PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes.
* Issue #16638: Include up to 5 docstring header lines (before first blank) inTerry Jan Reedy2014-01-221-4/+18
| | | | | Idle calltips. This is needed for builtins, such bytes (which is why 5). Based on patch by Serhiy Storchaka.
* Issue #16630: Make Idle calltips work even when __getattr__ raises.Terry Jan Reedy2014-01-211-6/+18
| | | | Initial patch by Roger Serwy.
* Issue #16655: Explain why Idle's test_calltips has 'fragile' tests of builtins.Terry Jan Reedy2014-01-211-0/+8
|
* Issue #20122: Idlelib: Move tests in CallTips.py to test_calltips.py.Terry Jan Reedy2014-01-211-0/+100
|
* Make all idle test case names end with 'Test'.Terry Jan Reedy2013-07-301-1/+1
|
* Issue #15392: Create a unittest framework for IDLE.Terry Jan Reedy2013-05-281-0/+11
Preliminary patch by Rajagopalasarma Jayakrishnan.