From 1249c1ff11b35bd003ce0c65ce7c3910c5aa1bfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 27 Nov 2021 14:15:43 +0100 Subject: [PATCH] dev-python/trio: Use EPYTEST_IGNORE for Internet tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/trio/trio-0.19.0.ebuild | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/dev-python/trio/trio-0.19.0.ebuild b/dev-python/trio/trio-0.19.0.ebuild index 3a0aecc30f710..b02ca40ed6e5b 100644 --- a/dev-python/trio/trio-0.19.0.ebuild +++ b/dev-python/trio/trio-0.19.0.ebuild @@ -52,17 +52,15 @@ EPYTEST_DESELECT=( trio/tests/test_exports.py::test_static_tool_sees_all_symbols ) +EPYTEST_IGNORE=( + # these tests require internet access + trio/tests/test_ssl.py + trio/tests/test_highlevel_ssl_helpers.py +) + distutils_enable_tests --install pytest distutils_enable_sphinx docs/source \ dev-python/immutables \ dev-python/sphinxcontrib-trio \ dev-python/sphinx_rtd_theme \ dev-python/towncrier - -python_prepare_all() { - # these tests require internet access - rm trio/tests/test_ssl.py || die - rm trio/tests/test_highlevel_ssl_helpers.py || die - - distutils-r1_python_prepare_all -}