Fix stdlib stubtest for latest Python patch releases (#14220)

This commit is contained in:
Brian Schubert
2025-06-05 22:01:31 -04:00
committed by GitHub
parent 5a619a53e4
commit 74be9177e9
17 changed files with 211 additions and 44 deletions
+4
View File
@@ -773,6 +773,10 @@ if sys.platform == "linux":
if sys.version_info < (3, 11):
from _socket import CAN_RAW_ERR_FILTER as CAN_RAW_ERR_FILTER
__all__ += ["CAN_RAW_ERR_FILTER"]
if sys.version_info >= (3, 13):
from _socket import CAN_RAW_ERR_FILTER as CAN_RAW_ERR_FILTER
__all__ += ["CAN_RAW_ERR_FILTER"]
if sys.platform == "linux":