We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5d623d commit 683a342Copy full SHA for 683a342
dpnp/tests/test_window.py
@@ -1,9 +1,11 @@
1
import numpy
2
import pytest
3
-from numpy.testing import assert_allclose, assert_raises
+from numpy.testing import assert_raises
4
5
import dpnp
6
7
+from .helper import assert_dtype_allclose
8
+
9
10
@pytest.mark.parametrize("func", ["hamming"])
11
@pytest.mark.parametrize(
@@ -13,7 +15,7 @@ def test_window(func, M):
13
15
result = getattr(dpnp, func)(M)
14
16
expected = getattr(numpy, func)(M)
17
- assert_allclose(result, expected)
18
+ assert_dtype_allclose(result, expected)
19
20
21
0 commit comments