summaryrefslogtreecommitdiffstatshomepage
path: root/tests/esp32/resolve_on_connect.py
Commit message (Collapse)AuthorAge
* esp32/modsocket: Fix getaddrinfo to raise on error.Thorsten von Eicken2020-05-09
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.