From: Nikita Sobolev Date: Tue, 6 Jun 2023 16:11:19 +0000 (+0300) Subject: gh-92658: Fix typo in docs and tests for `HV_GUID_PARENT` (GH-105267) X-Git-Tag: v3.13.0a1~1875 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3907de12b57b14f674cdcc80ae64350a23af53a0;p=thirdparty%2FPython%2Fcpython.git gh-92658: Fix typo in docs and tests for `HV_GUID_PARENT` (GH-105267) --- diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 5f795af42b81..f2408cb95ff3 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -666,7 +666,7 @@ Constants HV_GUID_BROADCAST HV_GUID_CHILDREN HV_GUID_LOOPBACK - HV_GUID_LOOPBACK + HV_GUID_PARENT Constants for Windows Hyper-V sockets for host/guest communications. diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 68cdc6eaa913..0eaf64257c3b 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -2566,7 +2566,7 @@ class BasicHyperVTest(unittest.TestCase): socket.HV_GUID_BROADCAST socket.HV_GUID_CHILDREN socket.HV_GUID_LOOPBACK - socket.HV_GUID_LOOPBACK + socket.HV_GUID_PARENT def testCreateHyperVSocketWithUnknownProtoFailure(self): expected = r"\[WinError 10041\]"