From 3907de12b57b14f674cdcc80ae64350a23af53a0 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Tue, 6 Jun 2023 19:11:19 +0300 Subject: gh-92658: Fix typo in docs and tests for `HV_GUID_PARENT` (GH-105267) --- Doc/library/socket.rst | 2 +- Lib/test/test_socket.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 5f795af..f2408cb 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 68cdc6e..0eaf642 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\]" -- cgit v0.12