1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sat, 15 Oct 2022 07:35:07 +0000
Subject: Compatibility with Pandas older than 1.4
Forwarded: not-needed
---
tests/test_xarray.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/test_xarray.py b/tests/test_xarray.py
index 50864a2..8f9c489 100644
--- a/tests/test_xarray.py
+++ b/tests/test_xarray.py
@@ -556,6 +556,7 @@ def test_dtype(add_nan, chunk, dtype, dtype_out, engine):
xr.testing.assert_allclose(expected, actual.transpose("labels", ...), **tolerance64)
+@pytest.mark.skipif(pd.__version__ < '1.4.0', reason="need Pandas >= 1.4")
@pytest.mark.parametrize("chunk", [True, False])
@pytest.mark.parametrize("use_flox", [True, False])
def test_dtype_accumulation(use_flox, chunk):
|