diff options
Diffstat (limited to 'tests/extmod/tls_sslcontext_ciphers.py')
-rw-r--r-- | tests/extmod/tls_sslcontext_ciphers.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/extmod/tls_sslcontext_ciphers.py b/tests/extmod/tls_sslcontext_ciphers.py index 43f94fb19..824aadd02 100644 --- a/tests/extmod/tls_sslcontext_ciphers.py +++ b/tests/extmod/tls_sslcontext_ciphers.py @@ -2,7 +2,9 @@ try: import tls -except ImportError: + + tls.SSLContext.get_ciphers +except (ImportError, AttributeError): print("SKIP") raise SystemExit |