Skip to content
Prev Previous commit
Next Next commit
Skip test that does not work in debug build with non-debug OpenSSL
  • Loading branch information
zooba committed Jul 13, 2017
commit 8483625e524cb084f734793fd2ea3e070c75a66c
1 change: 1 addition & 0 deletions Lib/test/test_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1244,6 +1244,7 @@ def test_load_default_certs_env(self):
self.assertEqual(ctx.cert_store_stats(), {"crl": 0, "x509": 1, "x509_ca": 0})

@unittest.skipUnless(sys.platform == "win32", "Windows specific")
@unittest.skipIf(hasattr(sys, "gettotalrefcount"), "Debug build does not share environment between CRTs")
def test_load_default_certs_env_windows(self):
ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
ctx.load_default_certs()
Expand Down