Skip to content

Commit 60054e5

Browse files
committed
Mute tan test due to dpctl-2031
1 parent 4978005 commit 60054e5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dpnp/tests/test_umath.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
)
1010

1111
import dpnp
12+
import dpnp.backend.extensions.vm._vm_impl as vmi
1213

1314
from .helper import (
1415
assert_dtype_allclose,
@@ -108,6 +109,12 @@ def test_umaths(test_cases):
108109
pytest.skip("dpctl-1652")
109110
elif umath in ["ceil", "floor", "trunc"] and args[0].dtype == dpnp.bool:
110111
pytest.skip("dpctl-2030")
112+
elif (
113+
umath == "tan"
114+
and dpnp.issubdtype(args[0].dtype, dpnp.complexfloating)
115+
and not (vmi._is_available() and has_support_aspect64())
116+
):
117+
pytest.skip("dpctl-2031")
111118
elif umath in ["divmod", "frexp"]:
112119
pytest.skip("Not implemented umath")
113120
elif umath == "modf":

0 commit comments

Comments
 (0)