Skip to content

Commit cdb8e96

Browse files
committed
Mute tan test due to dpctl-2031
1 parent 002d2da commit cdb8e96

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
from dpnp.dpnp_utils import map_dtype_to_device
1314

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

0 commit comments

Comments
 (0)