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 880e8e8..b04a9a0 100644
--- a/Lib/test/test_support.py
+++ b/Lib/test/test_support.py
@@ -346,7 +346,7 @@
     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)
 
 
 #=======================================================================