@@ -2524,11 +2524,11 @@ def test_solve_broadcast(self, a_shape, b_shape, dtype):
25242524 # random generation of the input singular matrix
25252525 b_np = generate_random_numpy_array (b_shape , dtype , seed_value = 76 )
25262526
2527- a_dp = inp .array (a_np )
2528- b_dp = inp .array (b_np )
2527+ a_dp = dpnp .array (a_np )
2528+ b_dp = dpnp .array (b_np )
25292529
25302530 expected = numpy .linalg .solve (a_np , b_np )
2531- result = inp .linalg .solve (a_dp , b_dp )
2531+ result = dpnp .linalg .solve (a_dp , b_dp )
25322532
25332533 assert_dtype_allclose (result , expected )
25342534
@@ -2638,8 +2638,8 @@ def test_solve_errors(self):
26382638 )
26392639
26402640 # b.ndim == 0
2641- b_dp_ndim_0 = inp .array (2 )
2642- assert_raises (ValueError , inp .linalg .solve , a_dp , b_dp_ndim_0 )
2641+ b_dp_ndim_0 = dpnp .array (2 )
2642+ assert_raises (ValueError , dpnp .linalg .solve , a_dp , b_dp_ndim_0 )
26432643
26442644
26452645class TestSlogdet :
@@ -2754,13 +2754,13 @@ class TestSvd:
27542754 def get_tol (self , dtype ):
27552755 tol = 1e-06
27562756 if dtype in (dpnp .float32 , dpnp .complex64 ):
2757- tol = 1e-04
2757+ tol = 1e-03
27582758 elif not has_support_aspect64 () and dtype in (
27592759 dpnp .int32 ,
27602760 dpnp .int64 ,
27612761 None ,
27622762 ):
2763- tol = 1e-04
2763+ tol = 1e-03
27642764 self ._tol = tol
27652765
27662766 def check_types_shapes (
0 commit comments