From 36f0f9e85d0dee945a468f5dd1be92971a095fb5 Mon Sep 17 00:00:00 2001 From: Matthew Brett Date: Tue, 18 Jun 2024 16:29:05 +0100 Subject: [PATCH] Fix a deprecated import --- nipy/algorithms/statistics/formula/tests/test_formula.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nipy/algorithms/statistics/formula/tests/test_formula.py b/nipy/algorithms/statistics/formula/tests/test_formula.py index 2539aec98..c8a308882 100644 --- a/nipy/algorithms/statistics/formula/tests/test_formula.py +++ b/nipy/algorithms/statistics/formula/tests/test_formula.py @@ -9,7 +9,7 @@ import numpy as np import pytest import sympy -from numpy.core.records import fromrecords +from numpy.rec import fromrecords from numpy.testing import assert_almost_equal, assert_array_equal from sympy.utilities.lambdify import implemented_function