Louie Lu
ba365da9ce
bpo-30303: IDLE: Add _utest argument to textview ( #1499 )
2017-05-17 17:51:31 -04:00
Serhiy Storchaka
5908300e4b
bpo-29995: re.escape() now escapes only special characters. ( #1007 )
2017-04-13 21:06:43 +03:00
Victor Stinner
d6debb24e0
bpo-29919: Remove unused imports found by pyflakes ( #137 )
...
Make also minor PEP8 coding style fixes on modified imports.
2017-03-27 16:05:26 +02:00
Serhiy Storchaka
fdd42c481e
bpo-20185: Convert list object implementation to Argument Clinic. ( #542 )
2017-03-11 09:19:20 +02:00
Serhiy Storchaka
70d28a184c
Remove unused imports.
2016-12-16 20:00:15 +02:00
Terry Jan Reedy
0180cf6684
Issue #28572 : Use system-specific values for configdialog font test
2016-11-07 23:14:53 -05:00
Terry Jan Reedy
f46b7823e6
Issue #28572 : Add 10% to coverage of IDLE's test_configdialog.
...
Update and augment description of the configuration system.
2016-11-07 17:15:01 -05:00
R David Murray
44b548dda8
#27364 : fix "incorrect" uses of escape character in the stdlib.
...
And most of the tools.
Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and
Martin Panter.
2016-09-08 13:59:53 -04:00
Terry Jan Reedy
5f30f79357
Issue #27922 : IDLE tests no longer flash tk widgets (Merge 3.5).
2016-08-31 21:09:02 -04:00
Terry Jan Reedy
00b1e0f7ea
Issue #27922 : IDLE tests no longer flash tk widgets.
2016-08-31 21:03:16 -04:00
Terry Jan Reedy
bfbaa6b206
Issue #27891 : Consistently group and sort imports within idlelib modules.
2016-08-31 00:50:55 -04:00
Raymond Hettinger
15f44ab043
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
2016-08-30 10:47:49 -07:00
Terry Jan Reedy
5acf4e563f
Issue #27821 : Fix bug in idlelib.comfig function and add new tests.
2016-08-24 22:08:01 -04:00
Terry Jan Reedy
e194e87f1f
Issue #27714 : Remove unneeded non-idempotent call that fails on retest.
2016-08-20 21:08:50 -04:00
Terry Jan Reedy
f7ac36837a
Issue #27714 : Remove unneeded non-idempotent call that fails on retest.
2016-08-20 21:07:38 -04:00
Terry Jan Reedy
3ff55a8155
Issue #27732 : Silence test_idle with dummy bell functions.
2016-08-10 23:44:54 -04:00
Terry Jan Reedy
2084350685
Issue #27714 : text_textview now passes when re-run in the same process
...
because test_idle failed while running with test -w (and no -jn).
2016-08-10 16:52:24 -04:00
Terry Jan Reedy
3f3dc89a15
Issue #27714 : text_textview now passes when re-run in the same process
...
because test_idle failed while running with test -w (and no -jn).
Prevent a non-fatal warning from test_config_key.
2016-08-10 15:15:25 -04:00
Terry Jan Reedy
40a46ad467
Issue #27380 : For test_query on Mac, adjust one expected result.
2016-08-10 13:16:26 -04:00
Terry Jan Reedy
65db8544bf
Issue #27621 : Put query response validation error messages in query box
...
instead of in separate massagebox. Redo tests to match.
Add Mac OSX refinements. Original patch by Mark Roseman.
2016-08-10 12:50:16 -04:00
Terry Jan Reedy
2553b1b057
Issue #27620 : Make htest box respond to <Return> and <Escape>.
2016-07-27 22:17:05 -04:00
Martin Panter
263893c261
Issue #27626 : Further spelling fixes for 3.6
2016-07-28 01:25:31 +00:00
Terry Jan Reedy
17937832ba
Issue #27620 : Escape key closes Query box as cancelled.
2016-07-25 20:58:43 -04:00
Terry Jan Reedy
c665dfd73e
Issue #19198 : IDLE: tab after initial whitespace should tab, not autocomplete.
...
Fixes problem with writing docstrings at lease twice indented.
2016-07-24 23:01:28 -04:00
Terry Jan Reedy
6f7b0f577e
Issue #27477 : Convert IDLE search dialogs to using ttk widgets.
2016-07-10 20:21:31 -04:00
Terry Jan Reedy
a748032653
Refine geometry of idlelib htests (and a few other fix-ups).
2016-07-10 17:28:10 -04:00
Terry Jan Reedy
cd5e388c39
Issue #27173 : Fix error in test_config that caused test_idle to fail.
2016-07-10 17:26:24 -04:00
Terry Jan Reedy
9bdb1edf35
Issue #27173 : Add 'IDLE Modern Unix' to the built-in key sets.
...
Make the default key set depend on the platform.
Add tests for changes to the config module.
2016-07-10 13:46:34 -04:00
Terry Jan Reedy
d3b96e1cd4
Whitespace
2016-07-08 00:26:20 -04:00
Terry Jan Reedy
8b22c0aada
Issue #27380 : IDLE: add query.HelpSource class and tests.
...
Remove modules that are combined in new module.
2016-07-08 00:22:50 -04:00
Terry Jan Reedy
9862b5194d
Issue #27452 : make command line idle-test> python test_help.py work.
...
__file__ is relative in this case.
2016-07-05 21:51:56 -04:00
Terry Jan Reedy
0cd6b97701
Issue 27437: Add query.ModuleName and use it for file => Load Module.
...
Users can now edit bad entries instead of starting over.
2016-07-03 19:11:13 -04:00
Terry Jan Reedy
68a53c5d39
Issue #27380 : IDLE: add base Query dialog, with ttk widgets and subclass
...
SectionName. These split class GetCfgSectionNameDialog from
configSectionNameDialog.py, temporarily renamed config_sec.py in 3.7.9a2.
More Query subclasses are planned.
2016-06-26 22:05:10 -04:00
Terry Jan Reedy
47e00e5c46
Issue #27365 : Finish merge so tests pass.
2016-06-22 05:49:15 -04:00
Terry Jan Reedy
096c6aae87
Issue #27365 : partial merge
2016-06-22 04:24:27 -04:00
Terry Jan Reedy
06a1fcbb00
Issue #27365 : Allow non-ascii in idlelib/NEWS.txt, for contributor names.
...
Rest of patch that should not be cherry picked into 3.5.2 final.
2016-06-22 04:17:28 -04:00
Terry Jan Reedy
b60adc54d4
Issue #24137 : Run IDLE, test_idle, and htest with tkinter default root disabled.
...
Fix code and tests that fail with this restriction.
Fix htests to not create a second and redundant root and mainloop.
2016-06-21 18:41:38 -04:00
Berker Peksag
75a25867ab
Issue #27312 : Fix TypeError in test_setupapp
2016-06-18 04:18:24 +03:00
Terry Jan Reedy
fdb6ef774a
Issue #27312 : mock out function that fails when called from setupApp during
...
IDLE test_macosx and see if addOpenEventSupport() fails.
2016-06-17 19:55:46 -04:00
Terry Jan Reedy
2518fa8326
Issue #27239 : Continue refactoring idlelib.macosx and adding macosx tests.
2016-06-12 15:49:20 -04:00
Terry Jan Reedy
50288f964a
Issue #5124 : rename PyShell back to pyshell and patch test for 3.6
2016-06-11 02:10:59 -04:00
Terry Jan Reedy
b5c43f4c01
Merge with 3.5
2016-06-11 02:06:40 -04:00
Terry Jan Reedy
5ad8599caa
Issue #5124 : Paste with selection should always replace.
...
This is how paste work on Windows, Mac, modern Linux apps, and ttk widgets.
The exception was X11 tk widgets. Original patch by Serhiy Storchake.
2016-06-11 02:06:26 -04:00
Terry Jan Reedy
01e35754fb
Issue *24750: Switch all scrollbars in IDLE to ttk versions.
...
Where needed, add minimal tests to cover changes.
2016-06-10 18:19:21 -04:00
Terry Jan Reedy
1080d13a7d
Issue #24759 : IDLE requires tk 8.5 and availability ttk widgets.
...
Delete now unneeded tk version tests and code for older versions.
2016-06-09 21:09:15 -04:00
Terry Jan Reedy
82ae15597f
Issue #24759 : Add test for IDLE syntax colorizoer.
2016-06-09 21:04:09 -04:00
Terry Jan Reedy
fb51e65289
Issue #27239 : idlelib.macosx.isXyzTk functions initialize as needed.
2016-06-08 18:09:22 -04:00
Terry Jan Reedy
64b8f6bcc8
Merge with 3.5
2016-06-04 16:16:10 -04:00
Terry Jan Reedy
f13cc2f991
Issue #24759 : Add 'private' notice for idlelib.idle_test.
2016-06-04 16:15:58 -04:00
Terry Jan Reedy
55de5c3de3
Merge: Revise and synchronize idle_test.test_configdialog.
2016-06-04 15:55:53 -04:00
Terry Jan Reedy
05dab096c1
Revise and synchronize idle_test.test_configdialog.
2016-06-04 15:54:44 -04:00
Terry Jan Reedy
2cf6ca787a
Merge with 3.5
2016-06-04 02:32:32 -04:00
Terry Jan Reedy
1aa06e1525
IDLE test README: 'gui' to 'GUI', except in "'gui'" and '-ugui'.
2016-06-04 02:32:18 -04:00
Terry Jan Reedy
5a493e9dc4
Merge issue #27196 from 3.5: Stop IDLE test 'application destroyed' warnings.
2016-06-03 23:58:37 -04:00
Terry Jan Reedy
6047b55372
Issue #27196 : Stop 'application destroyed' warnings when running IDLE tests.
...
The update_idletasks solution was provided by Serhiy Storchaka.
2016-06-03 23:53:56 -04:00
Terry Jan Reedy
3d7281d2bd
Issue 20567: Revise idle_test/README.txt and some tests to match new advice.
2016-06-03 22:28:05 -04:00
Terry Jan Reedy
75cbeb5dac
Issue 20567: Revise idle_test/README.txt and some tests to match new advice.
2016-06-03 22:19:17 -04:00
Martin Panter
e514093a2f
Issue #27125 : Merge typo fixes from 3.5
2016-05-30 05:24:49 +00:00
Martin Panter
a90a4a9651
Issue #27125 : Remove duplicated words from documentation and comments
2016-05-30 04:04:50 +00:00
Terry Jan Reedy
6fa5bdc6e8
Issue #24225 : Within idlelib files, update idlelib module names.
...
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.
2016-05-28 13:22:31 -04:00
Terry Jan Reedy
0d9220e162
Issue #24225 : Rename many idlelib/*.py and idlelib/idle_test/test_*.py files.
2016-05-22 19:10:31 -04:00
Terry Jan Reedy
092473eef9
Issue #21939 : Test IDLE percolator. Original patch by Saimadhav Heblikar.
2016-05-17 22:48:22 -04:00
Terry Jan Reedy
fdec2a3424
Issue #21676 : test IDLE replace dialog. Original patch by Saimadhav Heblikar.
2016-05-17 19:58:02 -04:00
Terry Jan Reedy
c359af1530
Issue #18410 : add missing parent argument.
2016-05-17 18:35:07 -04:00
Terry Jan Reedy
b236fe4515
Issue #18410 : Test IDLE's search dialog; original patch by Westley Martínez.
2016-05-17 18:18:37 -04:00
Terry Jan Reedy
0495fa81e6
Issue #21703 : Add test for undo delegator. Patch most by Saimadhav Heblikar .
2016-05-16 23:32:28 -04:00
Terry Jan Reedy
6b98ce23f6
Issue #27044 : stop test_idle from leaking by deleting callbacks.
2016-05-16 22:27:28 -04:00
Terry Jan Reedy
af7cf6d2b9
Issue 18910: Edit idle_test/README.txt to add 'requires' usage at module scope.
...
Uppercase 'GUI', remove 2.7 references and reflow text.
2016-05-15 23:52:56 -04:00
Terry Jan Reedy
33a8fb9920
Issue #23977 : Tweak IDLE Delegator and its test.
2016-05-15 22:06:49 -04:00
Terry Jan Reedy
5f4ac9fcf3
Issue #25747 : remove undependable and possibly useless test.
2016-05-15 14:19:59 -04:00
Terry Jan Reedy
c64d942e8d
Issue #20640 : Add tests for idlelib.configHelpSourceEdit.
...
Patch by Saimadhav Heblikar.
2016-05-15 01:30:47 -04:00
Terry Jan Reedy
b31a2849da
Issue #25507 : revert incorrect movement of idleConf import in c548ad75160c.
...
Augment htest to include all major IOBinding functions.
2016-01-27 11:51:50 -05:00
Terry Jan Reedy
dc22031a61
Merge with 3.4
2015-10-30 02:47:33 -04:00
Terry Jan Reedy
bbdc065506
Issue #25507 : move test-specific imports to test function (idlelib.IOBinding).
2015-10-30 02:47:06 -04:00
Terry Jan Reedy
447169f6da
Merge with 3.4
2015-10-13 22:04:07 -04:00
Terry Jan Reedy
93f3542ae4
Issue #24782 : Finish converting the Configure Extension dialog into a new
...
tab in the IDLE Preferences dialog. Code patch by Mark Roseman.
2015-10-13 22:03:51 -04:00
Terry Jan Reedy
47f9741e5c
Merge with 3.4
2015-09-20 19:57:37 -04:00
Terry Jan Reedy
5d46ab1274
Issue #16893 : Replace help.txt with idle.html for Idle doc display.
...
The new idlelib/idle.html is copied from Doc/build/html/idle.html.
It looks better than help.txt and will better document Idle as released.
The tkinter html viewer that works for this file was written by Rose Roseman.
The new code is in idlelib/help.py, a new file for help menu classes.
The now unused EditorWindow.HelpDialog class and helt.txt file are deprecated.
2015-09-20 19:57:13 -04:00
Terry Jan Reedy
52ee2471b3
Merge with 3.4
2015-09-09 02:10:35 -04:00
Terry Jan Reedy
78d915aa3e
Issue 24199: Deprecate idlelib.idlever with a warning on import.
2015-09-09 02:10:17 -04:00
Terry Jan Reedy
5c28e9f887
Issue #23672 : Allow Idle to edit and run files with astral chars in name.
...
Patch by Mohd Sanad Zaki Rizvi.
2015-08-06 00:54:07 -04:00
Terry Jan Reedy
19c1a8725c
Issue #20792 : Expand idle_test.test_pathbowser. Tweak file to not copy twice.
...
Original patch by Saimadhav Heblikar.
2015-07-20 17:44:59 -04:00
Terry Jan Reedy
0901d84e35
Issue #23672:Merge with 3.4
2015-08-06 00:54:45 -04:00
Terry Jan Reedy
fd580cbd17
Merge with 3.4
2015-07-20 17:45:22 -04:00
Terry Jan Reedy
b9731f26c3
Merge with 3.4
2015-05-16 14:24:06 -04:00
Terry Jan Reedy
031d0640cd
Issue #23964 : Update idlelib/idle_test/README.txt. first patch by Al Sweigart.
2015-05-16 14:23:39 -04:00
Terry Jan Reedy
75fb816c78
Issue #23184 : idle tests, remove unused names and imports.
2015-05-15 23:55:21 -04:00
Terry Jan Reedy
188c18d48f
Merge 3.4 #23184 : idle tests, remove unused names and imports.
2015-05-15 23:55:49 -04:00
Berker Peksag
dfa4e045a3
Issue #23943 : Fix typos. Patch by Piotr Kasprzyk.
2015-04-14 09:35:51 +03:00
Berker Peksag
4882cacab6
Issue #23943 : Fix typos. Patch by Piotr Kasprzyk.
2015-04-14 09:30:01 +03:00
Serhiy Storchaka
a110eb4331
Issue #23825 : Fixed test_idle under -OO.
2015-04-04 09:48:17 +03:00
Serhiy Storchaka
9fa84b202e
Issue #23825 : Fixed test_idle under -OO.
2015-04-04 09:47:31 +03:00
Serhiy Storchaka
6c86fe2d4b
Issue #23583 : Added tests for standard IO streams in IDLE.
2015-03-24 19:46:54 +02:00
Serhiy Storchaka
520e00dd92
Issue #23583 : Added tests for standard IO streams in IDLE.
2015-03-24 19:49:23 +02:00
Serhiy Storchaka
ce40e1a081
Fixed IDLE tests after changing re error messages (issue #22578 ).
2014-11-10 14:18:03 +02:00
Terry Jan Reedy
a9421fb3a3
Issue #3068 : Add Idle extension configuration dialog to Options menu.
...
Original patch by Tal Einat.
2014-10-22 20:15:18 -04:00
Berker Peksag
f23530f569
Issue #22186 : Fix typos in Lib/.
...
Patch by Févry Thibault.
2014-10-19 18:04:38 +03:00
Terry Jan Reedy
cd567365c9
Issue #22629 : Revise idle_test.htest, mostly docstring. Start revision of
...
htests to add # htest # marker for coveragepy and stop tcl errors.
2014-10-17 01:31:35 -04:00
Tal Einat
9b7f9e6c5a
Issue #21765 : Add support for non-ascii identifiers to HyperParser
2014-07-16 16:33:36 +03:00
Terry Jan Reedy
cfa8950aab
Issue #21982 : Add minimal unittest for configDialog with 46% coverage.
...
Fix regression that this test would have caught.
2014-07-14 23:07:32 -04:00
Terry Jan Reedy
5283c4e108
Issue #18592 : Method return signature changes made to SearchDialogBase for
...
test purposes are now reflected in GrepDialog and ReplaceDialog. Docstrings
are improved. Initial patch by Saimadhav Heblikar
2014-07-13 17:27:26 -04:00
Terry Jan Reedy
3740d589f7
Issue #18592 : Make unittest for SearchDialogBase work on all tk versions.
2014-07-11 00:37:14 -04:00
Terry Jan Reedy
223dd8d7d2
#21940 : Add unittest for WidgetRedirector. Initial patch by Saimadhav Heblikar.
2014-07-11 00:16:00 -04:00
Terry Jan Reedy
092b3cf671
More idlelib cleanup inspired by pyflakes.
2014-07-01 21:33:31 -04:00
Terry Jan Reedy
8cefd08943
Issue #18592 : Refactor 2 SearchDialogBase.create_(option/other)_buttons methods
...
to remove duplication and return info for tests. Rewrite corresponding tests.
Test_create_option_buttons was not testing anything because of buggy
comparisons. Use Python subscripting to get widget options.
2014-06-30 23:52:20 -04:00
Terry Jan Reedy
525168bd74
Issue #18592 : Add unittests for SearchDialogBase. Patch by Phil Webster.
2014-06-30 20:00:03 -04:00
Terry Jan Reedy
14fbe72777
Issue #21694 : Add unittest for ParenMatch. Patch by Saimadhav Heblikar.
2014-06-17 16:35:20 -04:00
Terry Jan Reedy
10b1c7cc8f
Issue #21686 : add unittest for idlelib.HyperParser. Original patch by Saimadhav
...
Heblikar. Correct a minor 3.x bug in HyperParser discovered by testing.
2014-06-16 19:01:01 -04:00
Terry Jan Reedy
c6a66ccb06
whitespace
2014-06-08 14:57:24 -04:00
Terry Jan Reedy
38ebdf528e
Issue #21682 : Replace EditorWindow with mock to eliminate memory leaks.
...
Patch by Saimadhav Heblikar.
2014-06-07 04:27:50 -04:00
Terry Jan Reedy
4a3f135c8d
Issue #18910 : test_textView - since all tests require 'gui', make root global.
...
Subclass TextViewer to add mock methods instead of monkey-patching it.
2014-06-06 17:43:19 -04:00
Terry Jan Reedy
7be121f2bc
whitespace
2014-06-05 03:54:02 -04:00
Terry Jan Reedy
537e2c8632
Issue #18910 : Add unittest for textView. Patch by Phil Webster.
2014-06-05 03:38:34 -04:00
Terry Jan Reedy
7936e6f755
Issue #18292 : Idle - test AutoExpand. Patch by Saihadhav Heblikar.
2014-06-04 20:50:59 -04:00
Terry Jan Reedy
e3fcfc240d
Issue #18409 : Idle: add unittest for AutoComplete. Patch by Phil Webster.
2014-06-03 20:54:21 -04:00
Zachary Ware
66f2928479
Issue #18492 : Allow all resources when tests are not run by regrtest.py.
...
This changeset also includes cleanup allowed by this behavior change.
2014-06-02 16:01:29 -05:00
Terry Jan Reedy
078b8a81b1
Issue #21477 : Update htest docstring and remove extraneous differences between
...
2.7 and 3.4. Original patch by Saimadhav Heblikar.
2014-06-01 00:30:34 -04:00
Terry Jan Reedy
2e8234a597
Issue #21477 : Add htests for GrepDialog, UndoDelegator, and configDialog.
...
Put instructions in a fixed size scrollable Text. Patch by Saimadhav Heblikar.
2014-05-29 01:46:26 -04:00
Terry Jan Reedy
0a4d13e87e
Issue #21477 : Add htests for Search and Replace dialogs.
...
Patch by Saimadhav Heblikar.
2014-05-27 03:30:54 -04:00
Terry Jan Reedy
a2fc99ecea
Issue #21477 : Idle htest: modify run; add more tests.
...
Patch by Saimadhav Heblikar. 2.7 version will follow.
2014-05-25 18:44:05 -04:00
Terry Jan Reedy
1b392ffe67
Issue #21477 : Idle htest: merge and modify run and runall; add many tests.
...
Patch by Saimadhav Heblikar
2014-05-24 18:48:18 -04:00
Terry Jan Reedy
ab4fd4448a
Issue #21477 : idle htests - lower case function names, other cleanups.
2014-05-19 00:12:10 -04:00
Terry Jan Reedy
6936159dcd
Issue #18104 : revise docstrings, remove obsolete comments.
2014-05-15 20:50:10 -04:00
Terry Jan Reedy
8386fda154
whitespace
2014-05-11 23:35:09 -04:00
Terry Jan Reedy
06313b79d5
Issue #18104 : Add idlelib/idle_test/htest.py with a few sample tests to begin
...
consolidating and improving human-validated tests of Idle. Change other files
as needed to work with htest. Running the module as __main__ runs all tests.
2014-05-11 23:32:32 -04:00
Terry Jan Reedy
d5d4c4eabe
Issue 21284: Idle: make test_formatparagraph pass even when a user changes the
...
reformat width in the configuration menu.
2014-04-22 01:11:03 -04:00
Terry Jan Reedy
78c330d714
Merge with 3.3
2014-02-27 18:48:13 -05:00
Terry Jan Reedy
9db1ab8250
Issue #20567 : Delete class attribute gui widgets in idle tests.
...
Code patch by Serhiy Storchaka
2014-02-27 18:47:49 -05:00
Ezio Melotti
48eabbeffd
#20634 : merge with 3.3.
2014-02-15 13:01:41 +02:00
Ezio Melotti
f4e998364e
#20634 : fix typo in IDLE README noticed by Saimadhav Heblikar.
2014-02-15 13:01:08 +02:00
Larry Hastings
581ee3618c
Issue #20326 : Argument Clinic now uses a simple, unique signature to
...
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).
2014-01-28 05:00:08 -08:00
Terry Jan Reedy
0c5b5d4571
Merge with 3.3
2014-01-26 21:35:22 -05:00
Terry Jan Reedy
1b759bc49e
Idlelib.calltips: add test of starred first parameters. They should not be
...
removed even for bound methods. (Inspect.signature does, see 20401.)
2014-01-26 21:34:33 -05:00
Terry Jan Reedy
76964877e3
White space and merge cleanup.
2014-01-26 20:24:35 -05:00
Terry Jan Reedy
0902ce437d
Merge with 3.3
2014-01-26 20:17:48 -05:00
Terry Jan Reedy
ddc5758885
Merge heads.
2014-01-26 20:16:53 -05:00
Terry Jan Reedy
e2d9b39dd4
Issue #20338 : Increase allowed tip width slightly and wrap long signagure lines.
...
Original patch by Serhiy Storchaka.
2014-01-26 20:08:26 -05:00
Terry Jan Reedy
a0f1e22068
Issue #20338 : Increase allowed tip width slightly and wrap long signagure lines.
...
Original patch by Serhiy Storchaka.
2014-01-26 19:55:34 -05:00
Larry Hastings
5c66189e88
Issue #20189 : Four additional builtin types (PyTypeObject,
...
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.
2014-01-24 06:17:25 -08:00
Terry Jan Reedy
d5710f8b36
Issue #16638 : Include up to 5 docstring header lines (before first blank) in
...
Idle calltips. This is needed for builtins, such bytes (which is why 5).
Based on patch by Serhiy Storchaka.
2014-01-21 20:45:17 -05:00
Terry Jan Reedy
715476d8e3
Issue #16630 : Make Idle calltips work even when __getattr__ raises.
...
Initial patch by Roger Serwy.
2014-01-21 15:36:51 -05:00
Terry Jan Reedy
eed1661b47
Issue #16655 : Explain why Idle's test_calltips has 'fragile' tests of builtins.
2014-01-21 03:07:51 -05:00
Terry Jan Reedy
681ede8b0a
Issue #20122 : Idlelib: Move tests in CallTips.py to test_calltips.py.
2014-01-21 00:26:21 -05:00
Terry Jan Reedy
31e4d325b6
Issue #18489 : Add complete, gui-free tests for idlelib.SearchEngine.
...
Patch import and initialization in SearchEngine to make testing easier.
Improve docstrings, especially to clarify the double role of 'ok' parameters.
Original patch by Phil Webster.
2013-08-31 16:27:16 -04:00
Ezio Melotti
b5bc353b88
#18741 : fix more typos. Patch by Févry Thibault.
2013-08-17 16:11:40 +03:00
Terry Jan Reedy
29c3fc5d8f
Issue #18732 : Remove unused* parameter output_sep from IdleHistory.History
...
and paired splits and joins that do nothing when output_sep is its default \n.
*It in unused in that the class in only instantiated once, with the default.
Make a few other changes in .fetch and its test.
2013-08-15 16:19:13 -04:00
Terry Jan Reedy
c2564f9329
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
2013-08-15 14:32:04 -04:00
Terry Jan Reedy
7c64aad9fb
Issue #18226 : Add docstrings and unittests for idlelib/FormatParagraph.py.
...
Move comment code to a separate function so it can be separately tested.
Original patches by Todd Rovito and Phil Webster.
2013-08-10 16:56:28 -04:00
Terry Jan Reedy
4bd31292c2
Make all idle test case names end with 'Test'.
2013-07-30 01:36:48 -04:00
Terry Jan Reedy
015b4535c5
Update gui section of idle test README.
2013-07-28 16:39:44 -04:00
Terry Jan Reedy
a9d16c85d7
Issue #18441 : Remove check from test_text.py in 3.3,4 (already done in 2.7).
2013-07-28 16:25:16 -04:00
Terry Jan Reedy
e6a17862e7
Issue #18365 : convert buildbot errors to skips.
2013-07-13 04:05:42 -04:00
Terry Jan Reedy
4f133e2e98
Issue #18279 : Add tests for idlelib/RstripExtension.py. Original patch by
...
Phil Webster. With that available, modify RstripExtension.py to stop deleting
null slices, which caused a file to be marked as changed when it was not.
2013-07-13 02:34:43 -04:00
Terry Jan Reedy
04ff0382b2
Issue #18365 : normalize whitespace
2013-07-12 20:16:28 -04:00
Terry Jan Reedy
21784da416
Issue #18365 : Add mock Text class and test thereof versus tk.Text.
...
Based on patches by Todd.Rovito and Phil Webster.
2013-07-12 20:10:23 -04:00
Terry Jan Reedy
acd5f81149
Issue #18189 : add test_delegator for Idle Delegator class.
...
Also change private dict used as a set to a set.
2013-06-30 18:37:05 -04:00
Terry Jan Reedy
e4e530e7e8
Issue #18103 : Update README.txt and test_idle to describe and run gui tests.
2013-06-29 18:22:02 -04:00
Terry Jan Reedy
95a3f11f95
Issue *18081, #18242 : Change Idle warnings capture in PyShell and run to stop
...
replacing warnings.formatwarnings and to reverse replacement of
warnings.showwarnings when import is complete and when main function exits.
Add test_warning.py. Vinay Sajip provided capture_warnings function.
2013-06-28 23:50:12 -04:00
Terry Jan Reedy
de3beb2617
#18151 , part 2: Silence debug build resource warning for each file opened by
...
'Find in files' by replacing 'open with implicit close' by 'with open' in
GrepDialog method grep_it. Streamline code with enumerate(), direct file
iteration, and output tweak. Add test for this method, including output format.
2013-06-22 18:26:51 -04:00
Terry Jan Reedy
b101435afa
Issue 18130: delete extra spaces
2013-06-05 14:36:33 -04:00
Terry Jan Reedy
247bd5ea30
Issue18130: Test class idlelib.configSectionNameDialog.GetCfgSectionNameDialog.
...
Fix bug in existing human test and add instructions; fix two bugs in tested
code; remove redundancies, add spaces, and change two internal method names.
Add mock_tk with mocks for tkinter.Variable subclasses and tkinter.messagebox.
Use mocks in test_config_name to unittest methods that are otherwise gui-free.
2013-06-05 14:22:26 -04:00
Terry Jan Reedy
eb4c9c77b8
Issue #15392 : Do not run tests if threading/_thread not available. Otherwise
...
touchup test_idle. Rename README.txt.
2013-05-28 22:21:53 -04:00
Terry Jan Reedy
db4e5c53c9
Issue #15392 : Create a unittest framework for IDLE.
...
Preliminary patch by Rajagopalasarma Jayakrishnan.
2013-05-27 21:32:03 -04:00