From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 6 Jun 2023 19:27:10 +0000 (-0700) Subject: gh-92658: Fix typo in docs and tests for `HV_GUID_PARENT` (GH-105267) X-Git-Tag: v3.12.0b3~100^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e33add429f8f16340b4c186501bb1e436e66b4cc;p=thirdparty%2FPython%2Fcpython.git gh-92658: Fix typo in docs and tests for `HV_GUID_PARENT` (GH-105267) (cherry picked from commit 3907de12b57b14f674cdcc80ae64350a23af53a0) Co-authored-by: Nikita Sobolev --- 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\]"