Skip to content

Commit

Permalink
Changed test_result_type_bug_1874 to work with NumPy 2 and older on Win
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-pavlyk committed Oct 23, 2024
1 parent 6c4211c commit dc1887e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dpctl/tests/test_usm_ndarray_manipulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1560,8 +1560,12 @@ def test_repeat_0_size():


def test_result_type_bug_1874():
dts_bool = [True, np.bool_(True)]
dts_ints = [int(1), np.int64(1)]
py_sc = True
np_sc = np.asarray([py_sc])[0]
dts_bool = [py_sc, np_sc]
py_sc = int(1)
np_sc = np.asarray([py_sc])[0]
dts_ints = [py_sc, np_sc]
dts_floats = [float(1), np.float64(1)]
dts_complexes = [complex(1), np.complex128(1)]

Expand Down

0 comments on commit dc1887e

Please sign in to comment.