saghul / pycares

Python interface for c-ares
https://pypi.org/project/pycares/
MIT License
162 stars 74 forks source link

Update test_idna_encoding_query_a with new errno to align to new c-ares version #194

Closed kitterma closed 7 months ago

kitterma commented 7 months ago

See https://github.com/saghul/pycares/issues/193

With this change, all tests pass with c-ares 1.24 (but will fail with 1.18).

kitterma commented 7 months ago

It's not expected that the tests would pass with just this change. The vendored c-ares also needs to be updated.

saghul commented 7 months ago

The test should check for either, for backwards compatibility.

kitterma commented 7 months ago

The latest commit should do that.