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 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:51terry.reedysetrecipients: + terry.reedy, Saimadhav.Heblikar
2014-04-16 04:43:51terry.reedysetmessageid: <1397623431.67.0.315902957049.issue21139@psf.upfronthosting.co.za>
2014-04-16 04:43:51terry.reedylinkissue21139 messages
2014-04-16 04:43:51terry.reedycreate