dev-python/xarray: Reenable tests that used to fail with numpy-2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-01-04 13:59:52 +01:00
parent 765eaad76e
commit b166eb3e16

View File

@@ -107,19 +107,6 @@ python_test() {
;;
esac
if has_version ">=dev-python/numpy-2[${PYTHON_USEDEP}]"; then
EPYTEST_DESELECT+=(
xarray/tests/test_dataset.py::TestDataset::test_polyfit_warnings
# https://github.com/pandas-dev/pandas/issues/56996
xarray/tests/test_backends.py::test_use_cftime_false_standard_calendar_in_range
# TODO
'xarray/tests/test_dtypes.py::test_maybe_promote[q-expected19]'
'xarray/tests/test_dtypes.py::test_maybe_promote[Q-expected20]'
'xarray/tests/test_conventions.py::TestCFEncodedDataStore::test_roundtrip_mask_and_scale[dtype0-create_unsigned_masked_scaled_data-create_encoded_unsigned_masked_scaled_data]'
'xarray/tests/test_conventions.py::TestCFEncodedDataStore::test_roundtrip_mask_and_scale[dtype1-create_unsigned_masked_scaled_data-create_encoded_unsigned_masked_scaled_data]'
)
fi
if ! has_version "dev-python/seaborn[${PYTHON_USEDEP}]"; then
EPYTEST_DESELECT+=(
xarray/tests/test_plot.py::TestContour::test_colors