File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4862,7 +4862,7 @@ def _testSend(self):
48624862
48634863class 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 )
You can’t perform that action at this time.
0 commit comments