Skip to content

Commit 3d4dbfc

Browse files
committed
Release: v0.9.1
1 parent 2f4ec12 commit 3d4dbfc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/test_unit_reorder.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
# SOFTWARE.
2222

23-
import pytest
2423
from transformers import AutoTokenizer
2524

2625
from lighteval.data import GenerativeTaskDataset
@@ -81,10 +80,6 @@
8180

8281

8382
class TestReorderGenerativeTaskDataset:
84-
def test_dataset_needs_tokenization(self):
85-
with pytest.raises(ValueError):
86-
GenerativeTaskDataset(requests=TEST_DATA, num_dataset_splits=DATASET_SPLITS)
87-
8883
def test_reorder_dataset(self):
8984
tokenizer = AutoTokenizer.from_pretrained("gpt2")
9085
data = TEST_DATA.copy()

0 commit comments

Comments
 (0)