dev-python/trio: Use EPYTEST_IGNORE for Internet tests

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-11-27 14:15:43 +01:00
parent 1f7d04d6e1
commit 1249c1ff11

View File

@@ -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
}