code: def test_single_token_roundtrip(
      make_enc: Callable[[], tiktoken.Encoding]
  ):
      enc = make_enc()
  
      for token in range(enc.n_vocab):
          try:
              token_bytes = enc.decode_single_token_bytes(token)
          except KeyError:
              continue
          assert enc.encode_single_token(token_bytes) == token
  
file_path: tiktoken/tests/test_encoding.py
imports: from typing import Callable
  import hypothesis
  import hypothesis.strategies
  import pytest
  import tiktoken
  from .test_helpers import ENCODING_FACTORIES, MAX_EXAMPLES
label_desc: Use image node_id 10 for calling a global function with example usage: test_single_token_roundtrip(make_enc) without return types