diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-05-29 08:21:02 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-05-29 08:23:16 +0200 |
commit | 5d8672a3c285c07862620be1aff87bf94e48649a (patch) | |
tree | da748d676771fcc0f05321be489d613dbe6a96f2 /dev-python/aiodns | |
parent | www-plugins/lightspark: Bump to 0.8.7 (diff) | |
download | gentoo-5d8672a3c285c07862620be1aff87bf94e48649a.tar.gz gentoo-5d8672a3c285c07862620be1aff87bf94e48649a.tar.bz2 gentoo-5d8672a3c285c07862620be1aff87bf94e48649a.zip |
dev-python/aiodns: Fix test regression
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/aiodns')
-rw-r--r-- | dev-python/aiodns/aiodns-3.0.0-r1.ebuild | 11 |
1 files changed, 10 insertions, 1 deletions
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 +} |