Skip to content

Commit 8bc8102

Browse files
author
Chaluvadi
committed
Fixed constants
1 parent 4dbbe31 commit 8bc8102

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_constants.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def test_constant_dtype(dtype_index: int) -> None:
174174
)
175175
def test_constant_complex_dtype(dtype_index: int) -> None:
176176
"""Test if constant_complex creates an array with the correct dtype."""
177-
if dtype_index not in [1, 3] or (dtype_index == 3 and not wrapper.get_dbl_support()):
177+
if not
178178
pytest.skip()
179179

180180
dtype = dtypes.c_api_value_to_dtype(dtype_index)
@@ -219,3 +219,4 @@ def test_constant_ulong_dtype() -> None:
219219
assert dtypes.c_api_value_to_dtype(wrapper.get_type(result)) == dtype
220220
else:
221221
pytest.skip()
222+

0 commit comments

Comments
 (0)