[issue7232] Support of 'with' statement fo TarFile class

Meador Inge report at bugs.python.org
Sun Feb 28 01:45:55 CET 2010


Meador Inge <meadori at gmail.com> added the comment:

> What about changing the exception test to something like what I did in > issue7232.4.diff?

That is definitely more succinct, but Lars' solution provides more information about _why_ the test fails.  IMHO, the descriptiveness is
more important than succinctness.  Especially when debugging a failed
test.

----------

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


More information about the Python-bugs-list mailing list