Skip to content

Commit 514bf62

Browse files
committed
Mute warnings per review comment
1 parent 33cce1f commit 514bf62

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dpnp/tests/third_party/cupy/core_tests/test_nep50_examples.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
]
4545

4646

47+
@pytest.mark.filterwarnings("ignore::RuntimeWarning")
4748
@testing.with_requires("numpy>=2.0")
4849
@pytest.mark.parametrize("example", examples)
4950
@testing.numpy_cupy_allclose(atol=1e-15, accept_error=OverflowError)

dpnp/tests/third_party/cupy/manipulation_tests/test_join.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ def test_stack_casting(self, xp, dtype1, dtype2, casting):
525525
# may raise TypeError or ComplexWarning
526526
return xp.stack((a, b), dtype=dtype2, casting=casting)
527527

528+
@pytest.mark.filterwarnings("ignore::DeprecationWarning")
528529
@testing.with_requires("numpy>=2.0")
529530
@testing.for_all_dtypes(name="dtype1")
530531
@testing.for_all_dtypes(name="dtype2")

0 commit comments

Comments
 (0)