Message216432
| Author |
terry.reedy |
| Recipients |
Saimadhav.Heblikar, terry.reedy |
| Date |
2014年04月16日.04:43:50 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1397623431.67.0.315902957049.issue21139@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年04月16日 04:43:51 | terry.reedy | set | recipients:
+ terry.reedy, Saimadhav.Heblikar |
| 2014年04月16日 04:43:51 | terry.reedy | set | messageid: <1397623431.67.0.315902957049.issue21139@psf.upfronthosting.co.za> |
| 2014年04月16日 04:43:51 | terry.reedy | link | issue21139 messages |
| 2014年04月16日 04:43:51 | terry.reedy | create |
|