diff options
author | Damien George <damien@micropython.org> | 2024-10-18 23:12:47 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-10-22 14:31:13 +1100 |
commit | 1e3b24238ee35d16e1aee8244423fb7cec91f618 (patch) | |
tree | 9f8ea1a8e66cf259bef70c5cd44c89a1f2379641 /tests/extmod/tls_sslcontext_ciphers.py | |
parent | 7d442373afbc685d7becfda68df375a65c6b63f2 (diff) |
tests/extmod: Adjust ssl/tls tests to run on targets with axTLS.
Signed-off-by: Damien George <damien@micropython.org>
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 |