Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/datasets/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
class TestShuffleShardDatasetWrapper(TorchtextTestCase):
# Note that for order i.e shuffle before sharding, TorchData will provide linter warning
# Modify this test when linter warning is available
@parameterized.expand(list(DATASETS.items()))
def test_shuffle_shard_wrapper(self, dataset_name, dataset_fn):
@parameterized.expand([(f,) for f in DATASETS.values()])
def test_shuffle_shard_wrapper(self, dataset_fn):
dp = dataset_fn()
if type(dp) == tuple:
dp = list(dp)
Expand Down