Skip to content

Commit

Permalink
Fix tests for Python 3.9, 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaarsen committed Dec 2, 2024
1 parent f168b5c commit 5693bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ def test_trainer_no_eval_dataset_with_eval_strategy(
context = pytest.raises(
ValueError,
match=(
"You have set `args.eval_strategy` to IntervalStrategy.STEPS, but you didn't provide an "
"You have set `args.eval_strategy` to (IntervalStrategy.STEPS|steps), but you didn't provide an "
"`eval_dataset` or an `evaluator`. Either provide an `eval_dataset` or an `evaluator` "
"to `SentenceTransformerTrainer`, or set `args.eval_strategy='no'` to skip evaluation."
),
Expand Down

0 comments on commit 5693bef

Please sign in to comment.