diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index d6e8389eb48..f696fe17cd2 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -4542,7 +4542,7 @@ def testRecvFromIntoSmallBuffer(self): self.assertRaises(ValueError, self.cli_conn.recvfrom_into, buf, 1024) def _testRecvFromIntoSmallBuffer(self): - self.serv_conn.send(MSG*2048) + self.serv_conn.send(MSG) def testRecvFromIntoEmptyBuffer(self): buf = bytearray()