Skip to content

Commit 9cbf764

Browse files
Add test_logspace_list_input
1 parent 9ad1bb5 commit 9cbf764

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dpnp/tests/test_arraycreation.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,12 @@ def test_logspace_axis(axis):
917917
assert_dtype_allclose(func(dpnp), func(numpy))
918918

919919

920+
def test_logspace_list_input():
921+
res_np = numpy.logspace([0], [2], base=[5])
922+
res_dp = dpnp.logspace([0], [2], base=[5])
923+
assert_allclose(res_dp, res_np)
924+
925+
920926
@pytest.mark.parametrize(
921927
"data", [(), 1, (2, 3), [4], numpy.array(5), numpy.array([6, 7])]
922928
)

0 commit comments

Comments
 (0)