Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sikan Li committed Jul 3, 2024
1 parent 2bcd131 commit 86b4dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_particle_data_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def mock_get_rank():

def test_get_data_loader_distributed(dummy_npz_data, mock_distributed_env):
data_path, _ = dummy_npz_data
loader = get_data_loader(data_path, is_distributed=True)
loader = get_data_loader(data_path, use_dist=True)

assert isinstance(loader, DataLoader)
assert isinstance(loader.sampler, DistributedSampler)
Expand Down

0 comments on commit 86b4dbb

Please sign in to comment.