Skip to content

Commit d1bc408

Browse files
committed
Try reversing order back to original
1 parent 7652213 commit d1bc408

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Lib/test/test_socket.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4862,7 +4862,7 @@ def _testSend(self):
48624862

48634863
class PurePythonSocketPairTest(SocketPairTest):
48644864

4865-
# Explicitly use socketpair AF_INET or AF_INET6 to to ensure that is the
4865+
# Explicitly use socketpair AF_INET or AF_INET6 to ensure that is the
48664866
# code path we're using regardless platform is the pure python one where
48674867
# `_socket.socketpair` does not exist. (AF_INET does not work with
48684868
# _socket.socketpair on many platforms).
@@ -4907,11 +4907,11 @@ def _test_recv(self):
49074907
self.cli.send(MSG)
49084908

49094909
def test_send(self):
4910-
msg = self.cli.recv(1024)
4911-
self.assertEqual(msg, MSG)
4910+
self.serv.send(MSG)
49124911

49134912
def _test_send(self):
4914-
self.serv.send(MSG)
4913+
msg = self.cli.recv(1024)
4914+
self.assertEqual(msg, MSG)
49154915

49164916
def test_ipv4(self):
49174917
cli, srv = socket.socketpair(socket.AF_INET)

0 commit comments

Comments
 (0)