code: def test_encode_bytes():
      enc = tiktoken.get_encoding("cl100k_base")
      assert enc._encode_bytes(b" \xec\x8b\xa4\xed") == [62085]
  
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 6 for calling a global function with example usage: test_encode_bytes() without return types