Skip to content

Commit 5b10864

Browse files
committed
update two tests
1 parent 2068307 commit 5b10864

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dpnp/tests/test_linalg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2993,7 +2993,7 @@ def test_pinv_hermitian(self, dtype, shape):
29932993
# Set seed_value=81 to prevent
29942994
# random generation of the input singular matrix
29952995
a = generate_random_numpy_array(
2996-
shape, dtype, hermitian=True, seed_value=81, low=-5, high=5
2996+
shape, dtype, hermitian=True, seed_value=81, low=-3, high=3
29972997
)
29982998
a_dp = dpnp.array(a)
29992999

dpnp/tests/test_mathematical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4197,7 +4197,7 @@ def test_matmul_with_offsets(self, sh1, sh2):
41974197

41984198
result = ia[1] @ ib[1]
41994199
expected = a[1] @ b[1]
4200-
assert_array_equal(result, expected)
4200+
assert_dtype_allclose(result, expected)
42014201

42024202

42034203
class TestMatmulInplace:

0 commit comments

Comments
 (0)