diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-02-24 21:08:12 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-02-24 21:10:46 +0100 |
commit | bac9c667a80500194ff5d81e97463f253df7c7e2 (patch) | |
tree | 87e59c832293bc6bf756f9b7abc120f7a6cf2e40 /dev-python/aiorpcX/aiorpcX-0.19.1.ebuild | |
parent | app-office/libreoffice-bin-debug: new build for new boost (diff) | |
download | gentoo-bac9c667a80500194ff5d81e97463f253df7c7e2.tar.gz gentoo-bac9c667a80500194ff5d81e97463f253df7c7e2.tar.bz2 gentoo-bac9c667a80500194ff5d81e97463f253df7c7e2.zip |
dev-python/aiorpcX: Fix test failures when no resolver is available
Closes: https://bugs.gentoo.org/771645
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/aiorpcX/aiorpcX-0.19.1.ebuild')
-rw-r--r-- | dev-python/aiorpcX/aiorpcX-0.19.1.ebuild | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-python/aiorpcX/aiorpcX-0.19.1.ebuild b/dev-python/aiorpcX/aiorpcX-0.19.1.ebuild index 1dceb3bd58c3..94411647b986 100644 --- a/dev-python/aiorpcX/aiorpcX-0.19.1.ebuild +++ b/dev-python/aiorpcX/aiorpcX-0.19.1.ebuild @@ -26,3 +26,13 @@ BDEPEND=" )" distutils_enable_tests pytest + +python_test() { + local deselect=( + # require Internet + tests/test_socks.py::TestSOCKSProxy::test_create_connection_resolve_good + ) + + pytest -vv ${deselect[@]/#/--deselect } || + die "Tests failed with ${EPYTHON}" +} |