[issue6748] test_debuglevel from test_telnetlib.py fails

Jack Diederich report at bugs.python.org
Fri Nov 6 15:32:27 CET 2009


Jack Diederich <jackdied at gmail.com> added the comment:

Simplified tests attached.  Instead of bulking up and testing the TCP
server implementation I ended up mocking/stubing the socket recv/sendall
and select.select functions.  The only tests that use real sockets are
the ones to test timeouts.  Therefore test_telnetlib.py should be
platform neutral (let test_socket.py figure that stuff out).

Unless this blows up for anyone I'll check it in later today.

----------
Added file: http://bugs.python.org/file15276/simplified_6748.diff

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


More information about the Python-bugs-list mailing list