Terry J. Reedy added the comment:
I am puzzled at the differences between the 2.7 and 3.4 patches. There are only
three differences between the files
- from Tkinter import Tk, Text, TclError
+ from tkinter import Tk, Text, TclError
? ^
- from test.test_support import requires
+ from test.support import requires
? ^
- get_selection_indices = EditorWindow.get_selection_indices.im_func
+ get_selection_indices = EditorWindow. get_selection_indices
and none of these should affect the patch.
The attached patch adds a limit parameter to the
FormatParagraph.format_paragraph_event method ReformatParagraph.py that is
called as self.formatter in the tests.
cls.formatter = fp.FormatParagraph(editor).format_paragraph_event
With this change, we can augment the calls to
self.formatter('ParameterDoesNothing', 72)
and the tests will ignore the configured value.
----------
Added file: http://bugs.python.org/file34904/21139-34-fpe.diff
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue21139>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com