commit: 5d8672a3c285c07862620be1aff87bf94e48649a Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon May 29 06:21:02 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon May 29 06:23:16 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d8672a3
dev-python/aiodns: Fix test regression Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/aiodns/aiodns-3.0.0-r1.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dev-python/aiodns/aiodns-3.0.0-r1.ebuild b/dev-python/aiodns/aiodns-3.0.0-r1.ebuild index fd48e2ce2eb3..7602b45d3ebb 100644 --- a/dev-python/aiodns/aiodns-3.0.0-r1.ebuild +++ b/dev-python/aiodns/aiodns-3.0.0-r1.ebuild @@ -22,9 +22,18 @@ RESTRICT="test" RDEPEND=">=dev-python/pycares-3[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" -distutils_enable_tests unittest +distutils_enable_tests pytest PATCHES=( # https://github.com/saghul/aiodns/commit/146286601fe80eb4ede8126769e79b5d5e63f64e "${FILESDIR}/${P}-py3.10-tests.patch" ) + +python_test() { + local EPYTEST_DESELECT=( + # Internet changed, https://github.com/saghul/aiodns/issues/107 + tests.py::DNSTest::test_query_bad_chars + ) + + epytest tests.py +}