[Python-checkins] bpo-42172: Correct typo for test_socket.py (GH-23013)

corona10 webhook-mailer at python.org
Fri Oct 30 02:04:00 EDT 2020


https://github.com/python/cpython/commit/d6238ba82d07e8e0783b692f37dc4b7c8617294b
commit: d6238ba82d07e8e0783b692f37dc4b7c8617294b
branch: master
author: Akashkumar D Khunt <akashdkhunt at gmail.com>
committer: corona10 <donghee.na92 at gmail.com>
date: 2020年10月30日T15:03:51+09:00
summary:
bpo-42172: Correct typo for test_socket.py (GH-23013)
files:
M Lib/test/test_socket.py
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index 67ac045330f3e..80638325ba3a0 100755
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -4129,7 +4129,7 @@ def _testSecondCmsgTruncLen0Minus1(self):
 
 @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 @@ def testSecomdCmsgTruncInData(self):
 
 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)
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /