Fix tests on big-endian systems

Also, remove a redundant skip, as the listed test is skipped by upstream
already.
This commit is contained in:
Elliott Sales de Andrade
2024-08-19 01:35:57 -04:00
parent 4a8ca0c05d
commit b4a8abb2fc
4 changed files with 92 additions and 14 deletions
+4 -4
View File
@@ -14,8 +14,10 @@ Source0: %pypi_source %{srcname}
# Data for examples only.
Source1: https://github.com/pydata/xarray-data/archive/%{data_commit}/xarray-data-%{data_commit}.tar.gz
# All Fedora specific.
Patch0001: 0001-DOC-Skip-examples-using-unpackaged-dependencies.patch
Patch0002: 0002-DOC-Don-t-print-out-conda-pip-environment.patch
Patch: 0001-DOC-Skip-examples-using-unpackaged-dependencies.patch
Patch: 0002-DOC-Don-t-print-out-conda-pip-environment.patch
# https://github.com/pydata/xarray/pull/9380
Patch: 0003-Fix-tests-on-big-endian-systems.patch
BuildArch: noarch
@@ -113,8 +115,6 @@ rm -rf xarray
pytest_args=(
-n auto
-m "not network"
# https://github.com/pydata/xarray/issues/7513
-k 'not test_open_mfdataset_manyfiles'
# this test somehow crashes python interpreter entirely, was xfail upstream till recently
-k 'not test_save_mfdataset_compute_false_roundtrip'
)