saghul / pycares

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

Test failure with python3.8 #117

Closed kitterma closed 4 years ago

kitterma commented 4 years ago

I'm now getting this test failure with 3.1.0 with python3.8:

====================================================================== FAIL: test_idna_encoding (main.DNSTest)

Traceback (most recent call last): File "tests/tests.py", line 434, in test_idna_encoding self.assertEqual(self.errorno, pycares.errno.ARES_ENOTFOUND) AssertionError: 11 != 4

Any suggestions? Maybe I'm missing something? python3-idna is installed.

saghul commented 4 years ago

It’s possible your resolver tries to be “helpful” and does something to avoid the failure. As you can see in the CI build history tests are passing just fine.

This is not a problem with pycares but with your environment I think.

saghul commented 4 years ago

No follow-up, closing.