This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:39rhettingersetrecipients: + rhettinger
2014-04-17 15:19:39rhettingersetmessageid: <1397747979.02.0.575213731893.issue21284@psf.upfronthosting.co.za>
2014-04-17 15:19:38rhettingerlinkissue21284 messages
2014-04-17 15:19:38rhettingercreate