From: Antonio Valentino Date: Sun, 28 Jun 2026 16:58:32 +0000 Subject: pandas-3.0-compat.patch Origin: https://github.com/dask/dask/commit/c5e61ab5fbb3e409c36ac6281a0eef7c38a8c97b Forwarded: not-needed --- dask/tests/test_delayed.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dask/tests/test_delayed.py b/dask/tests/test_delayed.py index 4ce1dbc..58486d1 100644 --- a/dask/tests/test_delayed.py +++ b/dask/tests/test_delayed.py @@ -280,7 +280,8 @@ def test_np_dtype_of_delayed(): # https://github.com/dask/dask/pull/4374#issuecomment-454381465 np = pytest.importorskip("numpy") x = delayed(1) - with pytest.raises(TypeError): + with pytest.raises((ValueError, TypeError)): + # ValueError in numpy 2.4+, TypeError earlier. np.dtype(x) assert delayed(np.array([1], dtype="f8")).dtype.compute() == np.dtype("f8")