The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(telegram): drop raising=False from the platform_ssl_context patch
kshitijk4poordf8763a74cf6
diff --git a/tests/gateway/test_telegram_closewait_limits.py b/tests/gateway/test_telegram_closewait_limits.pyindex af16d724ac5..511aef4bf31 100644--- a/tests/gateway/test_telegram_closewait_limits.py+++ b/tests/gateway/test_telegram_closewait_limits.py@@ -147,7 +147,7 @@ def test_all_ptb_clients_share_the_platform_ssl_context(monkeypatch):platform-trust context — a fresh verify=True context per client reloads CAs on theevent loop on every reconnect (#133339)."""shared = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)- monkeypatch.setattr(tg_adapter, "platform_ssl_context", lambda: shared, raising=False)+ monkeypatch.setattr(tg_adapter, "platform_ssl_context", lambda: shared)for proxy_url in ("http://127.0.0.1:9/", None):instances = _drive_connect(monkeypatch, proxy_url=proxy_url)assert len(instances) >= 2