From fec3a1ebbe1b74519bbb910e6d436f079694602f Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Thu, 14 Oct 2021 14:44:47 +0300 Subject: dev-python/numpydoc: enable py3.10, cleaner test deselect Signed-off-by: Arthur Zamarin --- dev-python/numpydoc/numpydoc-1.1.0.ebuild | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'dev-python/numpydoc') diff --git a/dev-python/numpydoc/numpydoc-1.1.0.ebuild b/dev-python/numpydoc/numpydoc-1.1.0.ebuild index ff3887528405..5693d12146fa 100644 --- a/dev-python/numpydoc/numpydoc-1.1.0.ebuild +++ b/dev-python/numpydoc/numpydoc-1.1.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 @@ -30,14 +30,14 @@ distutils_enable_tests pytest src_prepare() { sed -i -e 's:--cov-report= --cov=numpydoc::' setup.cfg || die - # these require Internet (intersphinx) - sed -e 's:test_MyClass:_&:' \ - -e 's:test_my_function:_&:' \ - -i numpydoc/tests/test_full.py || die - distutils-r1_src_prepare } python_test() { - pytest -vv --pyargs numpydoc || die "Tests failed with ${EPYTHON}" + local EPYTEST_DESELECT=( + # these require Internet (intersphinx) + numpydoc/tests/test_full.py::test_MyClass + numpydoc/tests/test_full.py::test_my_function + ) + epytest --pyargs numpydoc } -- cgit v1.2.3-65-gdbad