summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/ssl_cadata.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2023-09-27 13:37:31 +1000
committerDamien George <damien@micropython.org>2023-09-29 12:01:50 +1000
commita7e2a6d9f2b0bfe3e6955331a2e35bc260354fd6 (patch)
tree3ce39a7b31d5280dd044baba32c40676242c6fb2 /tests/extmod/ssl_cadata.py
parenta33766880e8fabfa421bee3252b486ebcfbde79b (diff)
downloadmicropython-a7e2a6d9f2b0bfe3e6955331a2e35bc260354fd6.tar.gz
micropython-a7e2a6d9f2b0bfe3e6955331a2e35bc260354fd6.zip
tests/extmod/ssl_cadata.py: Skip test on axtls.
The axtls bindings don't support this. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/extmod/ssl_cadata.py')
-rw-r--r--tests/extmod/ssl_cadata.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/extmod/ssl_cadata.py b/tests/extmod/ssl_cadata.py
index a68cae1ecb..e66f6ca825 100644
--- a/tests/extmod/ssl_cadata.py
+++ b/tests/extmod/ssl_cadata.py
@@ -10,5 +10,9 @@ except ImportError:
# Invalid cadata.
try:
ssl.wrap_socket(io.BytesIO(), cadata=b"!")
+except TypeError:
+ # "cadata" keyword argument is not supported by axtls.
+ print("SKIP")
+ raise SystemExit
except ValueError as er:
print(repr(er))