diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-09-22 12:46:57 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-09-22 12:46:57 +0000 |
| commit | 65fded7ca0c70ff8e9c4058a5d446b0076fecea5 (patch) | |
| tree | e8e8ac8648643f27063c4e5ec09463665002d31e /dev-python/xarray/files | |
| parent | 75ee11f08abf1b499d77f44698114316230919d7 (diff) | |
| download | baldeagleos-repo-65fded7ca0c70ff8e9c4058a5d446b0076fecea5.tar.gz baldeagleos-repo-65fded7ca0c70ff8e9c4058a5d446b0076fecea5.tar.xz baldeagleos-repo-65fded7ca0c70ff8e9c4058a5d446b0076fecea5.zip | |
Adding metadata
Diffstat (limited to 'dev-python/xarray/files')
| -rw-r--r-- | dev-python/xarray/files/xarray-0.19.0-riscv_tests_datetime.patch | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/dev-python/xarray/files/xarray-0.19.0-riscv_tests_datetime.patch b/dev-python/xarray/files/xarray-0.19.0-riscv_tests_datetime.patch deleted file mode 100644 index 1f356e95b561..000000000000 --- a/dev-python/xarray/files/xarray-0.19.0-riscv_tests_datetime.patch +++ /dev/null @@ -1,73 +0,0 @@ -These tests are x86{_64}-centric because they rely on a specific result of -casting a float64 NaN to int64, which is undefined in the C standard. -See https://github.com/numpy/numpy/issues/8325 for details. - ---- a/xarray/tests/__init__.py -+++ b/xarray/tests/__init__.py -@@ -40,6 +40,12 @@ - ) - - -+riscv_xfail = pytest.mark.xfail( -+ "riscv" in platform.machine(), -+ reason="expected failure on RISC-V", -+) -+ -+ - def _importorskip(modname, minversion=None): - try: - mod = importlib.import_module(modname) ---- a/xarray/tests/test_backends.py -+++ b/xarray/tests/test_backends.py -@@ -71,6 +71,7 @@ - requires_scipy, - requires_scipy_or_netCDF4, - requires_zarr, -+ riscv_xfail, - ) - from .test_coding_times import ( - _ALL_CALENDARS, -@@ -492,6 +493,7 @@ - assert actual["x"].encoding["_Encoding"] == "ascii" - - @arm_xfail -+ @riscv_xfail - def test_roundtrip_numpy_datetime_data(self): - times = pd.to_datetime(["2000-01-01", "2000-01-02", "NaT"]) - expected = Dataset({"t": ("t", times), "t0": times[0]}) ---- a/xarray/tests/test_coding_times.py -+++ b/xarray/tests/test_coding_times.py -@@ -36,6 +36,7 @@ - requires_cftime, - requires_cftime_1_4_1, - requires_dask, -+ riscv_xfail, - ) - - _NON_STANDARD_CALENDARS_SET = { -@@ -466,6 +467,7 @@ - - - @arm_xfail -+@riscv_xfail - @requires_cftime - @pytest.mark.parametrize( - ["num_dates", "units", "expected_list"], ---- a/xarray/tests/test_duck_array_ops.py -+++ b/xarray/tests/test_duck_array_ops.py -@@ -38,6 +38,7 @@ - requires_bottleneck, - requires_cftime, - requires_dask, -+ riscv_xfail, - ) - - -@@ -280,6 +281,7 @@ - - - @arm_xfail -+@riscv_xfail - @pytest.mark.filterwarnings("ignore::RuntimeWarning") - @pytest.mark.parametrize("dask", [False, True] if has_dask else [False]) - def test_datetime_mean(dask): |
