[issue9553] test_argparse.py: 80 failures if COLUMNS env var set to a value other than 80

R. David Murray report at bugs.python.org
Thu Aug 12 20:26:52 CEST 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

I don't think it is worthwhile to jump through hoops to avoid calling the special methods.  Your patch also creates an unnecessary dependency on the internal implementation of EnvironmentVarGuard (ie: the fact that currently __enter__ happens to return self...this is *not* part of EnvironmentVarGuard's interface contract).

----------
stage: unit test needed -> patch review

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


More information about the Python-bugs-list mailing list