New submission from Charles-François Natali <neolo...@free.fr>: Lib/test/test_socket.py uses custom _get_unused_port to return a port which will be likely available for binding in some tests. The same functionality is already provided by support.find_unuse_port, let's make use of it. Patch attached.
---------- components: Tests files: test_socket_unused_port.diff keywords: patch messages: 135738 nosy: neologix priority: low severity: normal status: open title: test_socket: replace custom _get_unused_port() by support.find_unused_port() type: feature request Added file: http://bugs.python.org/file21958/test_socket_unused_port.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12054> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com