summaryrefslogtreecommitdiff
path: root/tests/extmod/ssl_cadata.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-10-18 23:12:47 +1100
committerDamien George <damien@micropython.org>2024-10-22 14:31:13 +1100
commit1e3b24238ee35d16e1aee8244423fb7cec91f618 (patch)
tree9f8ea1a8e66cf259bef70c5cd44c89a1f2379641 /tests/extmod/ssl_cadata.py
parent7d442373afbc685d7becfda68df375a65c6b63f2 (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/ssl_cadata.py')
-rw-r--r--tests/extmod/ssl_cadata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/extmod/ssl_cadata.py b/tests/extmod/ssl_cadata.py
index e66f6ca82..21d86b13f 100644
--- a/tests/extmod/ssl_cadata.py
+++ b/tests/extmod/ssl_cadata.py
@@ -10,7 +10,7 @@ except ImportError:
# Invalid cadata.
try:
ssl.wrap_socket(io.BytesIO(), cadata=b"!")
-except TypeError:
+except AttributeError:
# "cadata" keyword argument is not supported by axtls.
print("SKIP")
raise SystemExit