tests/extmod/ssl_cadata.py: Skip test on axtls.

The axtls bindings don't support this.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2023-09-27 13:37:31 +10:00
parent a33766880e
commit a7e2a6d9f2
1 changed files with 4 additions and 0 deletions

View File

@ -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))