MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_set_default_verify_paths

Method test_set_default_verify_paths

Lib/test/test_ssl.py:1383–1387  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1381 })
1382
1383 def test_set_default_verify_paths(self):
1384 # There's not much we can do to test that it acts as expected,
1385 # so just check it doesn't crash or raise an exception.
1386 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1387 ctx.set_default_verify_paths()
1388
1389 @unittest.skipUnless(ssl.HAS_ECDH, "ECDH disabled on this OpenSSL build")
1390 def test_set_ecdh_curve(self):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected