New submission from Raymond Hettinger:

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

----------
components: IDLE
keywords: easy
messages: 216695
nosy: rhettinger
priority: normal
severity: normal
stage: needs patch
status: open
title: IDLE reformat tests fail in presence of non-default FormatParagraph 
setting
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21284>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to