Message216695
| Author |
rhettinger |
| Recipients |
rhettinger |
| Date |
2014年04月17日.15:19:38 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1397747979.02.0.575213731893.issue21284@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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) ... FAIL
test_long_line (idlelib.idle_test.test_formatparagraph.FormatEventTest) ... FAIL
test_multiple_lines (idlelib.idle_test.test_formatparagraph.FormatEventTest) ... FAIL
test_short_line (idlelib.idle_test.test_formatparagraph.FormatEventTest) ... FAIL
The solution is to make these tests setup by:
1) save the user's default configuration
2) set the paragraph reformat width to 70
and tear-down by:
1) restoring the user's default configuration |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年04月17日 15:19:39 | rhettinger | set | recipients:
+ rhettinger |
| 2014年04月17日 15:19:39 | rhettinger | set | messageid: <1397747979.02.0.575213731893.issue21284@psf.upfronthosting.co.za> |
| 2014年04月17日 15:19:38 | rhettinger | link | issue21284 messages |
| 2014年04月17日 15:19:38 | rhettinger | create |
|