Skip to content

Commit da42f24

Browse files
committed
Update dpnp/tests/test_sycl_queue.py::test_astype
1 parent 365abdd commit da42f24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpnp/tests/test_sycl_queue.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2015,11 +2015,11 @@ def test_histogram_bin_edges(wgt, device):
20152015
)
20162016
def test_astype(device_x, device_y):
20172017
x = dpnp.array([1, 2, 3], dtype="i4", device=device_x)
2018-
y = dpnp.astype(x, dtype="f4")
2018+
y = dpnp.astype(x, "f4")
20192019
assert_sycl_queue_equal(y.sycl_queue, x.sycl_queue)
20202020

20212021
sycl_queue = dpctl.SyclQueue(device_y)
2022-
y = dpnp.astype(x, dtype="f4", device=sycl_queue)
2022+
y = dpnp.astype(x, "f4", device=sycl_queue)
20232023
assert_sycl_queue_equal(y.sycl_queue, sycl_queue)
20242024

20252025

0 commit comments

Comments
 (0)