[issue7944] Use the 'with' statement in conjunction with 'open' throughout test modules
Michael Foord
report at bugs.python.org
Sat Feb 20 16:37:26 CET 2010
Michael Foord <michael at voidspace.org.uk> added the comment:
There are several standard library modules that deliberately maintain compatibility with earlier versions of Python. The 'with' statement shouldn't be used for tests of any modules that still need compatibility with Python 2.4.
----------
nosy: +michael.foord
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7944>
_______________________________________
More information about the Python-bugs-list
mailing list