[Python-checkins] gh-92658: Fix typo in docs and tests for `HV_GUID_PARENT` (GH-105267)
zooba
webhook-mailer at python.org
Tue Jun 6 15:27:17 EDT 2023
https://github.com/python/cpython/commit/e33add429f8f16340b4c186501bb1e436e66b4cc
commit: e33add429f8f16340b4c186501bb1e436e66b4cc
branch: 3.12
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: zooba <steve.dower at microsoft.com>
date: 2023-06-06T20:27:10+01:00
summary:
gh-92658: Fix typo in docs and tests for `HV_GUID_PARENT` (GH-105267)
(cherry picked from commit 3907de12b57b14f674cdcc80ae64350a23af53a0)
Co-authored-by: Nikita Sobolev <mail at sobolevn.me>
files:
M Doc/library/socket.rst
M Lib/test/test_socket.py
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 @@ def testHyperVConstants(self):
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\]"
More information about the Python-checkins
mailing list