commit:     790bb170cc4b04eaae1bb8d3f26b33a59ea16232
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 25 15:31:32 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 16:05:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=790bb170

dev-python/scipy: Fix ignoring tests with !pooch

Closes: https://bugs.gentoo.org/904975
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/scipy/scipy-1.10.1.ebuild | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/dev-python/scipy/scipy-1.10.1.ebuild 
b/dev-python/scipy/scipy-1.10.1.ebuild
index f4f38cab6482..c04548669025 100644
--- a/dev-python/scipy/scipy-1.10.1.ebuild
+++ b/dev-python/scipy/scipy-1.10.1.ebuild
@@ -94,24 +94,24 @@ python_configure_all() {
 }
 
 python_test() {
-       cd "${T}" || die
+       cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
 
        local EPYTEST_DESELECT=(
                # Network
-               datasets/tests/test_data.py::TestDatasets::test_existence_all
-               datasets/tests/test_data.py::TestDatasets::test_ascent
-               datasets/tests/test_data.py::TestDatasets::test_face
-               
datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
+               
scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
+               scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
+               scipy/datasets/tests/test_data.py::TestDatasets::test_face
+               
scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
        )
        local EPYTEST_IGNORE=()
 
        if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
                EPYTEST_IGNORE+=(
-                       datasets/tests/test_data.py
+                       scipy/datasets/tests/test_data.py
                )
        fi
 
-       epytest -n "$(makeopts_jobs)" --pyargs scipy
+       epytest -n "$(makeopts_jobs)" scipy
 }
 
 python_install_all() {

Reply via email to