From acd902be6466729ffc2f2cece9bf5e945d64619b Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Mon, 23 May 2011 21:49:09 +0100 Subject: [PATCH] Issue #12151: Correction to diagnostic code. --- Lib/test/test_logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 6c66ff109cc..8166b3366d5 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,