Skip to content

Commit

Permalink
fix test expectations (add line index support)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mickus Timothee committed May 20, 2024
1 parent 441f13c commit ec347bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mammoth/tests/test_look_ahead_bucketing.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from itertools import product
from itertools import product, count

from mammoth.inputters.dataloader import build_dataloader

Expand All @@ -22,7 +22,7 @@ def __getitem__(self, idx):
def __iter__(self):
return iter(self.items)

def collate_fn(self, items):
def collate_fn(self, items, line_idx):
return items


Expand Down

0 comments on commit ec347bc

Please sign in to comment.