From c6c12863cd08c08363ec4db7f0084eb474a6ee9e Mon Sep 17 00:00:00 2001 From: Erik Welch Date: Tue, 26 Sep 2023 11:21:10 -0500 Subject: [PATCH] Try to fix failing test --- graphblas/tests/test_io.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphblas/tests/test_io.py b/graphblas/tests/test_io.py index bf2ca2015..6ad92a950 100644 --- a/graphblas/tests/test_io.py +++ b/graphblas/tests/test_io.py @@ -377,7 +377,7 @@ def test_scipy_sparse(): @pytest.mark.skipif("not ak") -@pytest.mark.xfail(np.__version__[:5] == "1.25.", reason="awkward bug with numpy 1.25") +@pytest.mark.xfail(np.__version__[:5] in {"1.25.", "1.26."}, reason="awkward bug with numpy >=1.25") def test_awkward_roundtrip(): # Vector v = gb.Vector.from_coo([1, 3, 5], [20, 21, -5], size=22) @@ -399,7 +399,7 @@ def test_awkward_roundtrip(): @pytest.mark.skipif("not ak") -@pytest.mark.xfail(np.__version__[:5] == "1.25.", reason="awkward bug with numpy 1.25") +@pytest.mark.xfail(np.__version__[:5] in {"1.25.", "1.26."}, reason="awkward bug with numpy >=1.25") def test_awkward_iso_roundtrip(): # Vector v = gb.Vector.from_coo([1, 3, 5], [20, 20, 20], size=22)