mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/trio: Use EPYTEST_IGNORE for Internet tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user