Vinay Sajip added the comment:

> Would that make sense to move the server.start() part out of setUp() and in 
> its own method

My preference would be to just catch the error in SocketHandlerTest.setUp() and 
leave things in a tidy state (e.g. .server and .sock_hdlr set to None), make 
the tearDown() logic take that into account, and in each test just skip if 
.server is None.

Do you want to take this on, or do you want me to look at it?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29177>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to