code: def test_token_to_sequence(self, encodings):
      single, pair = encodings
  
      assert single.token_to_sequence(2) == 0
      assert pair.token_to_sequence(2) == 0
      assert pair.token_to_sequence(0) == None
      assert pair.token_to_sequence(5) == None
      assert pair.token_to_sequence(6) == 1
      assert pair.token_to_sequence(8) == 1
      assert pair.token_to_sequence(9) == None
      assert pair.token_to_sequence(1200) == None
  
file_path: hf-tokenizers/bindings/python/tests/bindings/test_encoding.py
imports: import pytest
  from tokenizers import BertWordPieceTokenizer
  from ..utils import bert_files, data_dir
label_desc: Use image node_id 6 for calling the TestEncoding obj's underlying member method code with example usage: obj.test_token_to_sequence(encodings) without return types