File tree 1 file changed +4
-4
lines changed
Filter options
1 file changed +4
-4
lines changed
Original file line number Diff line number Diff line change @@ -4862,7 +4862,7 @@ def _testSend(self):
4862
4862
4863
4863
class PurePythonSocketPairTest (SocketPairTest ):
4864
4864
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
4866
4866
# code path we're using regardless platform is the pure python one where
4867
4867
# `_socket.socketpair` does not exist. (AF_INET does not work with
4868
4868
# _socket.socketpair on many platforms).
@@ -4907,11 +4907,11 @@ def _test_recv(self):
4907
4907
self .cli .send (MSG )
4908
4908
4909
4909
def test_send (self ):
4910
- msg = self .cli .recv (1024 )
4911
- self .assertEqual (msg , MSG )
4910
+ self .serv .send (MSG )
4912
4911
4913
4912
def _test_send (self ):
4914
- self .serv .send (MSG )
4913
+ msg = self .cli .recv (1024 )
4914
+ self .assertEqual (msg , MSG )
4915
4915
4916
4916
def test_ipv4 (self ):
4917
4917
cli , srv = socket .socketpair (socket .AF_INET )
You can’t perform that action at this time.
0 commit comments