From: Brett Cannon Date: Tue, 13 Mar 2007 03:05:40 +0000 (+0000) Subject: Fix a typo where the variable name was not updated. X-Git-Tag: v2.6a1~2035 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09a86bc5ef9899c4c86f31e9ecc0bec88b6e415f;p=python Fix a typo where the variable name was not updated. --- diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index 880e8e8906..b04a9a0581 100644 --- a/Lib/test/test_support.py +++ b/Lib/test/test_support.py @@ -346,7 +346,7 @@ def transient_internet(): time_out = TransientResource(IOError, errno=errno.ETIMEDOUT) socket_peer_reset = TransientResource(socket.error, errno=errno.ECONNRESET) ioerror_peer_reset = TransientResource(IOError, errno=errno.ECONNRESET) - return contextlib.nested(time_out, peer_reset, ioerror_peer_reset) + return contextlib.nested(time_out, socket_peer_reset, ioerror_peer_reset) #=======================================================================