From 97bf7e87437e5f8ce1c1a8b6defed81c8946add2 Mon Sep 17 00:00:00 2001 From: Julia Signell Date: Tue, 29 Jun 2021 08:48:10 -0400 Subject: [PATCH 4/4] Fix scipy tests (#7841) Signed-off-by: Elliott Sales de Andrade --- dask/array/tests/test_stats.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dask/array/tests/test_stats.py b/dask/array/tests/test_stats.py index d9fe290d..a80b6e61 100644 --- a/dask/array/tests/test_stats.py +++ b/dask/array/tests/test_stats.py @@ -75,8 +75,10 @@ def test_one(kind): ], ) def test_two(kind, kwargs): + # The sums of observed and expected frequencies must match a = np.random.random(size=30) - b = np.random.random(size=30) + b = a[::-1] + a_ = da.from_array(a, 3) b_ = da.from_array(b, 3) -- 2.31.1