bpo-42172: Correct typo for test_socket.py (GH-23013)

This commit is contained in:
Akashkumar D Khunt 2020-10-30 11:33:51 +05:30 committed by GitHub
parent 8e409cebad
commit d6238ba82d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -4129,7 +4129,7 @@ class RFC3542AncillaryTest(SendrecvmsgServerTimeoutBase):
@requireAttrs(socket, "CMSG_SPACE", "IPV6_RECVHOPLIMIT", "IPV6_HOPLIMIT",
"IPV6_RECVTCLASS", "IPV6_TCLASS")
def testSecomdCmsgTruncInData(self):
def testSecondCmsgTruncInData(self):
# Test truncation of the second of two control messages inside
# its associated data.
self.serv_sock.setsockopt(socket.IPPROTO_IPV6,
@ -4164,8 +4164,8 @@ class RFC3542AncillaryTest(SendrecvmsgServerTimeoutBase):
self.assertEqual(ancdata, [])
@testSecomdCmsgTruncInData.client_skip
def _testSecomdCmsgTruncInData(self):
@testSecondCmsgTruncInData.client_skip
def _testSecondCmsgTruncInData(self):
self.assertTrue(self.misc_event.wait(timeout=self.fail_timeout))
self.sendToServer(MSG)