Skip to content

Commit 5cc1140

Browse files
committed
adjust test to hit alternative path
1 parent 0b7c4e7 commit 5cc1140

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# some test coverage already provided by TestSetDiff1D
1111
class TestIn1D:
1212
def test_no_invert_assume_unique(self):
13-
x1 = xp.asarray([1, 2, 3])
14-
x2 = xp.asarray([3, 4, 5])
15-
expected = xp.asarray([False, False, True])
13+
x1 = xp.asarray([3, 8, 20])
14+
x2 = xp.arange(15)
15+
expected = xp.asarray([True, True, False])
1616
actual = in1d(x1, x2, xp=xp)
1717
assert_array_equal(actual, expected)

0 commit comments

Comments
 (0)