Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dpnp/tests/test_strides.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ def test_erf(dtype):
assert_dtype_allclose(result, expected)


@pytest.mark.filterwarnings("ignore::RuntimeWarning")
@pytest.mark.parametrize("dtype", get_float_complex_dtypes())
@pytest.mark.parametrize("stride", [2, -1, -3])
def test_reciprocal(dtype, stride):
Expand Down
2 changes: 1 addition & 1 deletion dpnp/tests/test_umath.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def test_large_values(self, dtype):


class TestReciprocal:
@pytest.mark.usefixtures("suppress_divide_numpy_warnings")
@pytest.mark.filterwarnings("ignore::RuntimeWarning")
@pytest.mark.parametrize("dtype", get_float_complex_dtypes())
def test_reciprocal(self, dtype):
a = generate_random_numpy_array(10, dtype)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def test_raises_with_numpy_input(self):
)
class TestArithmeticUnary:

@pytest.mark.filterwarnings("ignore::RuntimeWarning")
@testing.numpy_cupy_allclose(atol=1e-5, type_check=has_support_aspect64())
def test_unary(self, xp):
arg1 = self.arg1
Expand Down
2 changes: 2 additions & 0 deletions dpnp/tests/third_party/cupy/math_tests/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ def test_nan_to_num_for_old_numpy(self):
def test_nan_to_num_negative_for_old_numpy(self):
self.check_unary_negative("nan_to_num", no_bool=True)

@pytest.mark.filterwarnings("ignore::RuntimeWarning")
def test_nan_to_num_inf(self):
self.check_unary_inf("nan_to_num")

Expand All @@ -260,6 +261,7 @@ def test_nan_to_num_nan(self):
def test_nan_to_num_scalar_nan(self, xp):
return xp.nan_to_num(xp.array(xp.nan))

@pytest.mark.filterwarnings("ignore::RuntimeWarning")
def test_nan_to_num_inf_nan(self):
self.check_unary_inf_nan("nan_to_num")

Expand Down
Loading