From 7cd077138bdce17211ae13f77a27055d2a385833 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 14 Jun 2024 18:33:54 +0200 Subject: dev-python/xarray: Deselect tests broken on 32-bit arches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/933710 Signed-off-by: Michał Górny --- dev-python/xarray/xarray-2024.6.0.ebuild | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'dev-python/xarray/xarray-2024.6.0.ebuild') diff --git a/dev-python/xarray/xarray-2024.6.0.ebuild b/dev-python/xarray/xarray-2024.6.0.ebuild index 4c9c99624526..3253f14b00d9 100644 --- a/dev-python/xarray/xarray-2024.6.0.ebuild +++ b/dev-python/xarray/xarray-2024.6.0.ebuild @@ -69,6 +69,17 @@ python_test() { ) fi + if [[ ${ABI} != *64* ]]; then + EPYTEST_DESELECT+=( + # these tests hardcode object sizes for 64-bit arches + # https://github.com/pydata/xarray/issues/9127 + xarray/tests/test_dataarray.py::TestDataArray::test_repr_multiindex + xarray/tests/test_dataarray.py::TestDataArray::test_repr_multiindex_long + xarray/tests/test_dataset.py::TestDataset::test_repr_multiindex + xarray/tests/test_formatting.py::test_array_repr_dtypes_unix + ) + fi + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest } -- cgit v1.2.3