1
0
forked from pool/python-xarray

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
This commit is contained in:
Sebastian Wagner 2021-08-20 19:51:31 +00:00 committed by Git OBS Bridge
parent 1b835a8f4a
commit 379c2f46f7

View File

@ -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)