commit:     6a52cd14ebd3c693f809151b849e0aff8d99136b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May 29 06:01:55 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May 29 06:23:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a52cd14

dev-python/pycares: Fix test regression

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pycares/pycares-4.3.0.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-python/pycares/pycares-4.3.0.ebuild 
b/dev-python/pycares/pycares-4.3.0.ebuild
index 19ac39d76e8f..7eb7c4873c8e 100644
--- a/dev-python/pycares/pycares-4.3.0.ebuild
+++ b/dev-python/pycares/pycares-4.3.0.ebuild
@@ -45,6 +45,12 @@ BDEPEND+="
        )
 "
 
-distutils_enable_tests unittest
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # regression due to Internet changing (probably)
+       # https://github.com/saghul/pycares/issues/187
+       tests/test_all.py::DNSTest::test_query_class_chaos
+)
 
 export PYCARES_USE_SYSTEM_LIB=1

Reply via email to