



import unittest
import warnings
from dataclasses import dataclass

from transformers.convert_slow_tokenizer import SpmConverter
from transformers.testing_utils import get_tests_dir

@dataclass
class 	__snake_case :







							'''simple docstring'''






							UpperCamelCase__			: str




class 	__snake_case (				unittest.TestCase):







							'''simple docstring'''






							def _a (							self						):
											a__			 =						get_tests_dir("""fixtures/test_sentencepiece.model"""						)
											a__			 =						get_tests_dir("""fixtures/test_sentencepiece_with_bytefallback.model"""						)

											a__			 =						FakeOriginalTokenizer(vocab_file=a_						)

											with warnings.catch_warnings(record=a_						) as w:
															a__			 =						SpmConverter(a_						)
											self.assertEqual(len(a_						)					,					0						)

											a__			 =						FakeOriginalTokenizer(vocab_file=a_						)

											with warnings.catch_warnings(record=a_						) as w:
															a__			 =						SpmConverter(a_						)
											self.assertEqual(len(a_						)					,					1						)

											self.assertIn(
											    """The sentencepiece tokenizer that you are converting to a fast tokenizer uses the byte fallback option"""
											    """ which is not implemented in the fast tokenizers."""					,					str(w[0].message						)					,					)






def      A_ (		__a       :			int = 1_000						):

				"""simple docstring"""
				return sum(i for i in range(__a						) if i % 3 == 0 or i % 5 == 0						)


if __name__ == "__main__":
	print(f"""{solution() = }""")

