
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2014-04-17 15:19 byrhettinger, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Messages (3) | |||
|---|---|---|---|
| msg216695 -(view) | Author: Raymond Hettinger (rhettinger)*![]() | Date: 2014-04-17 15:19 | |
When a user sets FormatParagraph to anything other than 70,test_idle.py has 4 failing tests:test_comment_block (idlelib.idle_test.test_formatparagraph.FormatEventTest) ... FAILtest_long_line (idlelib.idle_test.test_formatparagraph.FormatEventTest) ... FAILtest_multiple_lines (idlelib.idle_test.test_formatparagraph.FormatEventTest) ... FAILtest_short_line (idlelib.idle_test.test_formatparagraph.FormatEventTest) ... FAILThe solution is to make these tests setup by: 1) save the user's default configuration 2) set the paragraph reformat width to 70and tear-down by: 1) restoring the user's default configuration | |||
| msg216819 -(view) | Author: Terry J. Reedy (terry.reedy)*![]() | Date: 2014-04-19 00:26 | |
I noticed the same while working on#21139 and posted there a patch, 21139-34-fpe.diff, that adds a limit parameter to .format_paragraph_event. Test could then specify a width for each test without touching the user configuration. Different tests could use different widths. An explicit width is already used for testing the implementaton functions called by this method. | |||
| msg216985 -(view) | Author: Roundup Robot (python-dev)![]() | Date: 2014-04-22 05:12 | |
New changeset4ff2c0a637cf by Terry Jan Reedy in branch '2.7':Issue 21284: Idle: make test_formatparagraph pass even when a user changes thehttp://hg.python.org/cpython/rev/4ff2c0a637cfNew changesetfe067339af80 by Terry Jan Reedy in branch '3.4':Issue 21284: Idle: make test_formatparagraph pass even when a user changes thehttp://hg.python.org/cpython/rev/fe067339af80 | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:02 | admin | set | github: 65483 |
| 2014-04-22 05:13:27 | terry.reedy | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2014-04-22 05:12:43 | python-dev | set | nosy: +python-dev messages: +msg216985 |
| 2014-04-19 00:26:49 | terry.reedy | set | nosy: +terry.reedy messages: +msg216819 assignee:terry.reedy stage: needs patch -> patch review |
| 2014-04-17 15:19:38 | rhettinger | create | |