Skip to content

Commit

Permalink
tests: Fix test examples in test_reduced_vocabulary_with_rare_tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
saattrupdan committed Jan 7, 2025
1 parent 3c66f72 commit dbec88d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tests/fsm/test_regex.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,12 +542,14 @@ def convert_token_to_string(self, token):
"�",
"��",
"�.",
"�..",
".�",
".�.",
"▁�",
"▁▁�",
"▁�.",
"▁�.",
"▁▁�..",
"�▁",
"▁�▁",
"?�",
"�?",
"?�?",
],
)
def test_reduced_vocabulary_with_rare_tokens(rare_token):
Expand Down

0 comments on commit dbec88d

Please sign in to comment.