Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
Mddct committed Jan 24, 2024
1 parent 5211e4b commit ca33aa5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion test/wenet/dataset/test_datapipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ def test_dynamic_batch_datapipe(data_list):
padding)

for d in dataset:
assert d['feats'].size(0) <= max_frames_in_batch
assert d['feats'].size(1) <= max_frames_in_batch
1 change: 0 additions & 1 deletion test/wenet/dataset/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ def test_WenetRawDatasetSource(data_list):
result = []
for elem in dataset:
result.append(elem)
print(result)

assert len(result) == len(expected)
for (i, elem) in enumerate(result):
Expand Down

0 comments on commit ca33aa5

Please sign in to comment.