Add SSLContext.set_default_verify_paths to asyncio blocking detection (#140648)

This one loads a significant number of files from /etc/ssl
This commit is contained in:
J. Nick Koston
2025-03-21 11:50:18 -10:00
committed by GitHub
parent 2571725eb9
commit 6027a26761
2 changed files with 20 additions and 0 deletions

View File

@ -178,6 +178,15 @@ _BLOCKING_CALLS: tuple[BlockingCall, ...] = (
strict_core=False,
skip_for_tests=True,
),
BlockingCall(
original_func=SSLContext.set_default_verify_paths,
object=SSLContext,
function="set_default_verify_paths",
check_allowed=None,
strict=False,
strict_core=False,
skip_for_tests=True,
),
BlockingCall(
original_func=Path.open,
object=Path,