From: Vinay Sajip Date: Mon, 23 May 2011 20:49:09 +0000 (+0100) Subject: Issue #12151: Correction to diagnostic code. X-Git-Tag: v3.3.0a1~2183^2~141^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=acd902be6466729ffc2f2cece9bf5e945d64619b;p=python Issue #12151: Correction to diagnostic code. --- diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 6c66ff109c..8166b3366d 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -901,7 +901,7 @@ if threading: except socket.error: msg = ('Error during finish, while sending %r, ' 'closed = %s') - print(msg % (data, self._closed), file=sys.stderr) + print(msg % (data, self.server._closed), file=sys.stderr) raise ThreadingUDPServer.__init__(self, addr, DelegatingUDPRequestHandler,