From 379c2f46f71238340ed4e98959208d4c27736fab035a6f08dbb5d62c10aa6f1d Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Fri, 20 Aug 2021 19:51:31 +0000 Subject: [PATCH] really remove obsolete test_resample_loffset.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=57 --- test_resample_loffset.patch | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 test_resample_loffset.patch diff --git a/test_resample_loffset.patch b/test_resample_loffset.patch deleted file mode 100644 index a3d1577..0000000 --- a/test_resample_loffset.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- - xarray/tests/test_dataset.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/xarray/tests/test_dataset.py -+++ b/xarray/tests/test_dataset.py -@@ -3988,7 +3988,7 @@ class TestDataset: - expected_ = ds.bar.to_series().resample("24H").mean() - expected_.index += to_offset("-12H") - expected = DataArray.from_series(expected_) -- assert_identical(actual, expected) -+ assert_allclose(actual, expected) - - def test_resample_by_mean_discarding_attrs(self): - times = pd.date_range("2000-01-01", freq="6H", periods=10)