[issue18226] IDLE Unit test for FormatParagrah.py

Terry J. Reedy report at bugs.python.org
Fri Aug 9 10:13:05 CEST 2013


Terry J. Reedy added the comment:

I got rid of the shutdown warning by replacing EditorWindow with a simple mock, as explained in the test file. Doing so also reduced the running time from about .40 seconds to .25 (it was 1.0+ before I reduced the redundancy of the tests). All the asserts passed after the substitution except for the last. For some reason, the 2nd line of the comment block looses its \n so that lines 2 and 3 get pasted together. I am baffled since the block is almost the same as the previous one. For the moment, I just commented out that test.

----------
Added file: http://bugs.python.org/file31204/18226FormatPara9.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18226>
_______________________________________


More information about the Python-bugs-list mailing list