[New-bugs-announce] [issue10512] regrtest ResourceWarning - unclosed socket

Nadeem Vawda report at bugs.python.org
Tue Nov 23 11:02:16 CET 2010


New submission from Nadeem Vawda <nadeem.vawda at gmail.com>:

When running "make test" on Python3, test_socket reports a number of ResourceWarnings due to unclosed sockets.  Attached is a patch that changes the relevant tests so that they close all the created sockets.

test_multiprocessing and test_xmlrpc have a similar problem; I will upload patches for these shortly.

----------
components: Tests
files: test_socket-resourcewarning-fix.diff
keywords: patch
messages: 122209
nosy: nvawda
priority: normal
severity: normal
status: open
title: regrtest ResourceWarning - unclosed socket
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file19783/test_socket-resourcewarning-fix.diff

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


More information about the New-bugs-announce mailing list