ab4e197707
This commit fixes the behaviour of socket.getaddrinfo on the ESP32 so it raises an OSError when the name resolution fails instead of returning a [] or a resolution for 0.0.0.0. Tests are added (generic and ESP32-specific) to verify behaviour consistent with CPython, modulo the different types of exceptions per MicroPython documentation. |
||
---|---|---|
.. | ||
README | ||
getaddrinfo.py | ||
test_tls_sites.py | ||
test_tls_sites.py.exp | ||
uasyncio_cancel_stream.py | ||
uasyncio_cancel_stream.py.exp | ||
uasyncio_open_connection.py | ||
uasyncio_open_connection.py.exp | ||
uasyncio_tcp_read_headers.py | ||
uasyncio_tcp_read_headers.py.exp |
README
This directory contains network tests which require Internet connection. Note that these tests are not run as part of the main testsuite and need to be run seperately (from the main test/ directory): ./run-tests net_inet/*.py