Louie Lu
f776eb0f0e
bpo-30917: IDLE: Add config.IdleConf unittests ( #2691 )
...
Patch by Louie Lu.
2017-07-18 17:17:56 -04:00
terryjreedy
95bebb7264
bpo-30934: Document coverage details for idlelib tests ( #2711 )
...
* Add section to idlelib/idle-test/README.txt.
* Include check that branches are taken both ways.
* Exclude IDLE-specific code that does not run during unit tests.
2017-07-16 00:07:36 -04:00
Louie Lu
9b622fb903
bpo-30870: IDLE: Add configdialog fontlist selection unittest ( #2666 )
...
Initial patch by Louie Lu.
2017-07-13 20:35:48 -04:00
Louie Lu
50c9435c9b
bpo-30899: Add unittests, 100% coverage, for IDLE's two ConfigParser subclasses. ( #2662 )
...
Patch by Louie Lu.
2017-07-12 14:05:32 -04:00
csabella
6d13b22e3a
bpo-30779: IDLE: fix changes.delete_section calls in configdialog ( #2667 )
...
Also improve test of config.ConfigChanges.delete_section.
Original patch by Cheryl Sabella.
2017-07-11 19:09:44 -04:00
terryjreedy
349abd9e37
bpo-30779: IDLE -- Factor ConfigChanges class from configdialog, put in config; test. ( #2612 )
...
* In config, put dump test code in a function; run it and unittest in 'if __name__ == '__main__'.
* Add class config.ConfigChanges based on changes_class_v4.py on bpo issue.
* Add class test_config.ChangesTest, partly based on configdialog_tests_v1.py on bpo issue.
* Revise configdialog to use ConfigChanges, mostly as specified in tracker msg297804.
* Revise test_configdialog to match configdialog changes. All tests pass in both files.
* Remove configdialog functions unused or moved to ConfigChanges.
Cheryl Sabella contributed parts of the patch.
2017-07-07 16:00:57 -04:00
terryjreedy
25a4206c24
bpo-30780: Fix error in idlelib.test_idle.test_configdialog ( #2606 )
2017-07-06 22:19:13 -04:00
csabella
42bc8beadd
bpo-30495: IDLE: improve textview with docstrings, PEP8 names, more tests. ( #2283 )
...
Split TextViewer class into ViewWindow, ViewFrame, and TextFrame classes so that instances
of the latter two can be placed with other widgets within a multiframe window.
Patch by Cheryl Sabella.
2017-06-29 18:42:17 -04:00
wohlganger
fae2c3538e
bpo-30723: IDLE -- Enhance parenmatch; add style, flash, and help ( #2306 )
...
* Add 'parens' style to highlight both opener and closer.
* Make 'default' style, which is not default, a synonym for 'opener'.
* Make time-delay work the same with all styles.
* Add help for config dialog extensions tab, including parenmatch.
* Add new tests.
Original patch by Charles Wohlganger.
2017-06-27 22:36:23 -04:00
terryjreedy
44913e584b
bpo-21519: IDLE basic custom key entry better detects duplicates. ( #2428 )
2017-06-27 01:23:55 -04:00
Serhiy Storchaka
213ce12adf
bpo-29910: IDLE no longer deletes a character after commenting out a region ( #825 )
...
This happened because shortcut has a class binding and 'break' was not returned.
Fix other potential conflicts between IDLE and default key bindings.
* Add news item
* Update NEWS
2017-06-27 00:02:32 -04:00
csabella
9a02ae3d3d
bpo-24813: IDLE: Add build bitness to About Idle title ( #2380 )
...
Patch by Cheryl Sabella.
2017-06-26 22:28:58 -04:00
csabella
bac7d3363b
bpo-30728: IDLE: Refactor configdialog to PEP8 names ( #2307 )
...
Also, change '*' in the tkinter import to an explicit list of names.
Patch by Cheryl Sabella.
2017-06-26 17:46:26 -04:00
csabella
8c78aa70c8
bpo-6739: IDLE: Check for valid keybinding in config_keys ( #2377 )
...
Verify user-entered key sequences by trying to bind them with tk.
Add tests for all 3 validation functions.
Original patch by G Polo. Tests added by Cheryl Sabella.
2017-06-26 00:55:48 -04:00
csabella
18ede06258
bpo-24813: IDLE: Add default title to help_about ( #2366 )
...
Patch by Cheryl Sabella.
2017-06-23 20:00:58 -04:00
csabella
d352d68977
bpo-24813: IDLE: Add icon to help_about ( #2335 )
...
Patch by Cheryl Sabella
2017-06-23 12:00:29 -04:00
terryjreedy
049cf2bb44
bpo-27922: Stop gui flash from idle_test.test_parenmatch ( #2171 )
...
For unknown reasons, this does not work when running leak tests.
2017-06-13 14:40:10 -04:00
terryjreedy
8323189ff1
Fix ref leak in idle_test.test_macosx ( #2163 )
2017-06-13 10:52:29 -04:00
mlouielu
b070fd275b
bpo-30642: IDLE: Fix test_query refleak ( #2147 )
...
Patch by Louie Lu.
2017-06-13 08:29:44 -04:00
csabella
0aa0a06e8b
bpo-30495: IDLE: Modernize textview.py with docstrings and PEP8 names ( #1839 )
...
Patch by Cheryl Sabella.
2017-05-28 06:50:55 -04:00
terryjreedy
eca7da0f13
IDLE test_help_about: edit and add test. ( #1838 )
...
Coverage is now 100%
2017-05-28 01:10:51 -04:00
csabella
5a346d5dbc
bpo-30290: IDLE: Refactor help_about to PEP8 names ( #1714 )
...
Patch by Cheryl Sabella.
2017-05-27 15:49:26 -04:00
mlouielu
054e09147a
bpo-30290: IDLE: Add more tests for help_about dialog ( #1697 )
...
Increases coverage to 99%
2017-05-21 18:19:35 -04:00
terryjreedy
295304d412
IDLE test_textview: add comments and test, increase coverage to 100% ( #1641 )
2017-05-17 22:59:46 -04:00
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