Skip to content

Commit 078f238

Browse files
Undo change to source
1 parent 6f5f20a commit 078f238

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

python/tests/__snapshots__/test_array_api/TestLDA.test_source_optimized.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
def __fn(X, y):
2+
assert X.dtype == np.dtype(np.float64)
3+
assert X.shape == (150, 4,)
4+
assert np.all(np.isfinite(X))
5+
assert y.dtype == np.dtype(np.int64)
6+
assert y.shape == (150,)
7+
assert set(np.unique(y)) == set((0, 1, 2,))
28
_0 = y == np.array(0)
39
_1 = np.sum(_0)
410
_2 = y == np.array(1)

0 commit comments

Comments
 (0)