From 974c865219223742a07375bea1f6da246e3326ef Mon Sep 17 00:00:00 2001 From: Sebastian Berg Date: Wed, 8 Jun 2022 16:35:31 -0700 Subject: API: Add leading underscore to `no_nep50_warning` and `get/set_promotion_state` --- numpy/linalg/tests/test_linalg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/linalg') diff --git a/numpy/linalg/tests/test_linalg.py b/numpy/linalg/tests/test_linalg.py index 39eb10b92..f871a5f8e 100644 --- a/numpy/linalg/tests/test_linalg.py +++ b/numpy/linalg/tests/test_linalg.py @@ -1803,7 +1803,7 @@ class TestCholesky: c = np.linalg.cholesky(a) b = np.matmul(c, c.transpose(t).conj()) - with np.no_nep50_warning(): + with np._no_nep50_warning(): atol = 500 * a.shape[0] * np.finfo(dtype).eps assert_allclose(b, a, atol=atol, err_msg=f'{shape} {dtype}\n{a}\n{c}') -- cgit v1.2.1