[issue7944] Use the 'with' statement in conjunction with 'open' throughout test modules
Raymond Hettinger
report at bugs.python.org
Wed Oct 13 20:10:44 CEST 2010
Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:
I'm not sure that this is a worthwhile exercise unless it can be shown for certain that alternate implementations need this. Otherwise, it just changes tests in a way that isn't backwards compatible, makes it more difficult to apply patches cleanly, and risks damaging an otherwise good test.
----------
nosy: +rhettinger
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7944>
_______________________________________
More information about the Python-bugs-list
mailing list