Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add repeat method to datasets #7198

Merged
merged 11 commits into from
Feb 5, 2025
Prev Previous commit
Next Next commit
fix code formatting
  • Loading branch information
lhoestq authored Jan 30, 2025
commit 79de1989a9514b2c7a86e0008ec690e0d141b4ae
1 change: 0 additions & 1 deletion tests/test_iterable_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -1758,7 +1758,6 @@ def test_iterable_dataset_take(dataset: IterableDataset, n):
assert list(take_dataset) == list(dataset)[:n]



@pytest.mark.parametrize("n", [0, 2])
def test_iterable_dataset_repeat(dataset: IterableDataset, n):
repeat_dataset = dataset.repeat(n)
Expand Down
Loading