mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
dev-python/pandas: Deselect more failing tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -175,6 +175,9 @@ python_test() {
|
||||
# assumes that it will fail due to -mfpmath=387 on 32-bit arches,
|
||||
# so it XPASS-es in every other scenario
|
||||
tests/tools/test_to_timedelta.py::TestTimedeltas::test_to_timedelta_float
|
||||
|
||||
# newer matplotlib?
|
||||
tests/plotting/frame/test_frame.py::TestDataFramePlots::test_group_subplot_invalid_column_name
|
||||
)
|
||||
|
||||
if ! has_version "dev-python/scipy[${PYTHON_USEDEP}]"; then
|
||||
@@ -183,6 +186,17 @@ python_test() {
|
||||
)
|
||||
fi
|
||||
|
||||
if has_version ">=dev-python/numexpr-2.10[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_DESELECT+=(
|
||||
'tests/computation/test_eval.py::TestTypeCasting::test_binop_typecasting[numexpr-python-left_right0-float64-/]'
|
||||
'tests/computation/test_eval.py::TestTypeCasting::test_binop_typecasting[numexpr-python-left_right1-float64-/]'
|
||||
'tests/computation/test_eval.py::TestTypeCasting::test_binop_typecasting[numexpr-pandas-left_right0-float64-/]'
|
||||
'tests/computation/test_eval.py::TestTypeCasting::test_binop_typecasting[numexpr-pandas-left_right1-float64-/]'
|
||||
'tests/computation/test_eval.py::TestOperations::test_simple_arith_ops[numexpr-python]'
|
||||
'tests/computation/test_eval.py::TestOperations::test_simple_arith_ops[numexpr-pandas]'
|
||||
)
|
||||
fi
|
||||
|
||||
local -x LC_ALL=C.UTF-8
|
||||
cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
|
||||
"${EPYTHON}" -c "import pandas; pandas.show_versions()" || die
|
||||
@@ -191,7 +205,7 @@ python_test() {
|
||||
# https://github.com/pandas-dev/pandas/issues/54907
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest pandas/tests \
|
||||
--no-strict-data-files \
|
||||
--no-strict-data-files -o xfail_strict=false \
|
||||
-m "not single_cpu and not slow and not network and not db" ||
|
||||
die "Tests failed with ${EPYTHON}"
|
||||
rm test-data.xml test_stata.dta || die
|
||||
|
||||
Reference in New Issue
Block a user