@@ -166,11 +166,14 @@ async def asyncTearDown(self):
166
166
167
167
@async_client_context .require_tls
168
168
async def test_simple_ssl (self ):
169
+ if "PyPy" in sys .version :
170
+ self .skipTest ("Test is flaky on PyPy" )
169
171
# Expects the server to be running with ssl and with
170
172
# no --sslPEMKeyFile or with --sslWeakCertificateValidation
171
173
await self .assertClientWorks (self .client )
172
174
173
175
@async_client_context .require_tlsCertificateKeyFile
176
+ @async_client_context .require_no_api_version
174
177
@ignore_deprecations
175
178
async def test_tlsCertificateKeyFilePassword (self ):
176
179
# Expects the server to be running with server.pem and ca.pem
@@ -376,6 +379,7 @@ async def test_cert_ssl_validation_hostname_matching(self):
376
379
)
377
380
378
381
@async_client_context .require_tlsCertificateKeyFile
382
+ @async_client_context .require_no_api_version
379
383
@ignore_deprecations
380
384
async def test_tlsCRLFile_support (self ):
381
385
if not hasattr (ssl , "VERIFY_CRL_CHECK_LEAF" ) or _ssl .IS_PYOPENSSL :
@@ -531,6 +535,7 @@ def test_wincertstore(self):
531
535
532
536
@async_client_context .require_auth
533
537
@async_client_context .require_tlsCertificateKeyFile
538
+ @async_client_context .require_no_api_version
534
539
@ignore_deprecations
535
540
async def test_mongodb_x509_auth (self ):
536
541
host , port = await async_client_context .host , await async_client_context .port
@@ -640,6 +645,7 @@ async def test_mongodb_x509_auth(self):
640
645
self .fail ("Invalid certificate accepted." )
641
646
642
647
@async_client_context .require_tlsCertificateKeyFile
648
+ @async_client_context .require_no_api_version
643
649
@ignore_deprecations
644
650
async def test_connect_with_ca_bundle (self ):
645
651
def remove (path ):
0 commit comments