Skip to content

Commit 97bd3a0

Browse files
committed
address comments - second round
1 parent 265b286 commit 97bd3a0

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
@@ -517,6 +517,16 @@ def test_vander_seq(sequence):
517517
assert_allclose(vander_func(numpy, sequence), vander_func(dpnp, sequence))
518518

519519

520+
@pytest.mark.parametrize(
521+
"sequence",
522+
[[1, 2, 3, 4], (1, 2, 3, 4)],
523+
ids=["[1, 2, 3, 4]", "(1, 2, 3, 4)"],
524+
)
525+
def test_vander_seq(sequence):
526+
vander_func = lambda xp, x: xp.vander(x)
527+
assert_allclose(vander_func(numpy, sequence), vander_func(dpnp, sequence))
528+
529+
520530
@pytest.mark.parametrize(
521531
"shape",
522532
[(), 0, (0,), (2, 0, 3), (3, 2)],

0 commit comments

Comments
 (0)