Skip to content

Commit 125cf39

Browse files
committed
address comments - second round
1 parent 8bed5bc commit 125cf39

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/test_arraycreation.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,16 @@ def test_vander_seq(sequence):
521521
assert_allclose(vander_func(numpy, sequence), vander_func(dpnp, sequence))
522522

523523

524+
@pytest.mark.parametrize(
525+
"sequence",
526+
[[1, 2, 3, 4], (1, 2, 3, 4)],
527+
ids=["[1, 2, 3, 4]", "(1, 2, 3, 4)"],
528+
)
529+
def test_vander_seq(sequence):
530+
vander_func = lambda xp, x: xp.vander(x)
531+
assert_allclose(vander_func(numpy, sequence), vander_func(dpnp, sequence))
532+
533+
524534
@pytest.mark.parametrize(
525535
"shape",
526536
[(), 0, (0,), (2, 0, 3), (3, 2)],

0 commit comments

Comments
 (0)