16 lines
577 B
Diff
16 lines
577 B
Diff
|
---
|
||
|
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)
|