[issue17830] Fix test_keyword on Windows, clean up addCleanup
R. David Murray
report at bugs.python.org
Thu Apr 25 14:57:17 CEST 2013
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 real bug in keyword.py. Probably the former.
As for addCleanup, I prefer the lambda version. But I'm fine with using the non-lambda version if that is more common in the test suite.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17830>
_______________________________________
More information about the Python-bugs-list
mailing list