[issue25485] Add a context manager to telnetlib.Telnet

Stéphane Wirtel report at bugs.python.org
Fri Oct 30 15:42:25 EDT 2015


Stéphane Wirtel added the comment:

Ok i will submit an other patch for the tests and the documentation

> On 30 oct. 2015, at 4:37 PM, SilentGhost <report at bugs.python.org> wrote:
> 
> 
> SilentGhost added the comment:
> 
> That's fine as a code change, but that's not the kind of test I meant. There is a Lib/test/test_ftplib.py and it basically needs test_with_statement added to one or few test cases. Have a look at how the similar functions implemented in Lib/test/.
> 
> ----------
> 
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue25485>
> _______________________________________

----------

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


More information about the Python-bugs-list mailing list