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:
parent
a33766880e
commit
a7e2a6d9f2
@ -10,5 +10,9 @@ except ImportError:
|
|||||||
# Invalid cadata.
|
# Invalid cadata.
|
||||||
try:
|
try:
|
||||||
ssl.wrap_socket(io.BytesIO(), cadata=b"!")
|
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:
|
except ValueError as er:
|
||||||
print(repr(er))
|
print(repr(er))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user