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

The axtls bindings don't support this.

Signed-off-by: Damien George <damien@micropython.org>
pull/12546/head
Damien George 2023-09-27 13:37:31 +10:00
rodzic a33766880e
commit a7e2a6d9f2
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

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