diff options
| author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-04-22 05:11:49 (GMT) |
|---|---|---|
| committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-04-22 05:11:49 (GMT) |
| commit | f16fa11d297061073b7650c857c755875cb7b144 (patch) | |
| tree | d6ed5d3ebc5053055d0287d824597c62302394f4 /Lib/idlelib/idle_test/test_formatparagraph.py | |
| parent | f4faef4c11e565a10fd4444567454dcb0d3aa117 (diff) | |
| parent | d5d4c4eabe00186e9c9020bc6caa045784ee3cc9 (diff) | |
| download | cpython-f16fa11d297061073b7650c857c755875cb7b144.zip cpython-f16fa11d297061073b7650c857c755875cb7b144.tar.gz cpython-f16fa11d297061073b7650c857c755875cb7b144.tar.bz2 | |
Merge with 3.4
Diffstat (limited to 'Lib/idlelib/idle_test/test_formatparagraph.py')
| -rw-r--r-- | Lib/idlelib/idle_test/test_formatparagraph.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/idlelib/idle_test/test_formatparagraph.py b/Lib/idlelib/idle_test/test_formatparagraph.py index f4a7c2d..690c936 100644 --- a/Lib/idlelib/idle_test/test_formatparagraph.py +++ b/Lib/idlelib/idle_test/test_formatparagraph.py @@ -293,7 +293,7 @@ class FormatEventTest(unittest.TestCase): # Set cursor ('insert' mark) to '1.0', within text. text.insert('1.0', self.test_string) text.mark_set('insert', '1.0') - self.formatter('ParameterDoesNothing') + self.formatter('ParameterDoesNothing', limit=70) result = text.get('1.0', 'insert') # find function includes \n expected = ( @@ -305,7 +305,7 @@ class FormatEventTest(unittest.TestCase): # Select from 1.11 to line end. text.insert('1.0', self.test_string) text.tag_add('sel', '1.11', '1.end') - self.formatter('ParameterDoesNothing') + self.formatter('ParameterDoesNothing', limit=70) result = text.get('1.0', 'insert') # selection excludes \n expected = ( @@ -319,7 +319,7 @@ class FormatEventTest(unittest.TestCase): # Select 2 long lines. text.insert('1.0', self.multiline_test_string) text.tag_add('sel', '2.0', '4.0') - self.formatter('ParameterDoesNothing') + self.formatter('ParameterDoesNothing', limit=70) result = text.get('2.0', 'insert') expected = ( " The second line's length is way over the max width. It goes on and\n" @@ -334,7 +334,7 @@ class FormatEventTest(unittest.TestCase): # Set cursor ('insert') to '1.0', within block. text.insert('1.0', self.multiline_test_comment) - self.formatter('ParameterDoesNothing') + self.formatter('ParameterDoesNothing', limit=70) result = text.get('1.0', 'insert') expected = ( "# The first line is under the max width. The second line's length is\n" @@ -348,7 +348,7 @@ class FormatEventTest(unittest.TestCase): # Select line 2, verify line 1 unaffected. text.insert('1.0', self.multiline_test_comment) text.tag_add('sel', '2.0', '3.0') - self.formatter('ParameterDoesNothing') + self.formatter('ParameterDoesNothing', limit=70) result = text.get('1.0', 'insert') expected = ( "# The first line is under the max width.\n" |
