Skip to content

Commit

Permalink
mypy.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Dec 18, 2024
1 parent 318b9b2 commit 8bc5b24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python/test_data_iterator.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,13 +259,13 @@ def test_cat_check() -> None:
batches = []

for i in range(n_batches):
X, y = tm.make_categorical(
X_df, y_arr = tm.make_categorical(
n_samples=n_samples_per_batch,
n_features=n_features,
n_categories=3,
onehot=False,
)
batches.append((X, y))
batches.append((X_df, y_arr))

X, y = list(zip(*batches))
it = tm.IteratorForTest(X, y, None, cache=None, on_host=False)
Expand Down

0 comments on commit 8bc5b24

Please sign in to comment.