Debian Codegraph @

debian/patches/0001-disable-test_set_default_verify_paths-since-it-tries.patch

raw
1 From: Andrey Rakhmatullin <[email protected]>
2 Date: Fri, 17 Jan 2025 23:04:12 +0500
3 Subject: disable test_set requiring network access
4
5 ---
6 tests/test_ssl.py | 1 +
7 1 file changed, 1 insertion(+)
8
9 diff --git a/tests/test_ssl.py b/tests/test_ssl.py
10 index 080de2e..70c1de5 100644
11 --- a/tests/test_ssl.py
12 +++ b/tests/test_ssl.py
13 @@ -1410,6 +1410,7 @@ class TestContext:
14 # internet which has such a certificate. Connecting to the network
15 # in a unit test is bad, but it's the only way I can think of to
16 # really test this. -exarkun
17 + return
18 context = Context(SSLv23_METHOD)
19 context.set_default_verify_paths()
20 context.set_verify(