[issue17830] Fix test_keyword on Windows, clean up addCleanup

2013-04-25 Thread R. David Murray
R. David Murray added the comment: The filecmp test failure is not because of using filecmp. We want a binary comparison: the line endings of the generated file should match the line endings of the input file. So either the _copy_file_without_generated_keywords code is buggy, or this is a re

[issue17830] Fix test_keyword on Windows, clean up addCleanup

2013-04-24 Thread Zachary Ware
New submission from Zachary Ware: (Copying the nosy list from issue9607) test_keyword has a couple of failures on Windows, all due to newline issues--see for example http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/1845/steps/test/logs/stdio. test_keywords_py_wit