code: def test_processing(self, roberta_files):
      # Deprecated in 0.9
      with pytest.deprecated_call():
          tokenizer = Tokenizer(
              BPE(roberta_files["vocab"], roberta_files["merges"])
          )
      tokenizer.pre_tokenizer = ByteLevelPreTokenizer(
          add_prefix_space=True
      )
  
      # Keeps original offsets
      output = tokenizer.encode("My name is John")
      assert output.tokens == ["ĠMy", "Ġname", "Ġis", "ĠJohn"]
      assert output.offsets == [(0, 2), (2, 7), (7, 10), (10, 15)]
  
      # Trims offsets when activated
      tokenizer.post_processor = ByteLevel(trim_offsets=True)
      output = tokenizer.encode("My name is John")
      assert output.tokens == ["ĠMy", "Ġname", "Ġis", "ĠJohn"]
      assert output.offsets == [(0, 2), (3, 7), (8, 10), (11, 15)]
  
imports: import json
  import pickle
  import pytest
  from tokenizers import Tokenizer
  from tokenizers.models import BPE
  from tokenizers.pre_tokenizers import ByteLevel
  from tokenizers.processors import BertProcessing, ByteLevel, PostProcessor, RobertaProcessing, Sequence, TemplateProcessing
  from ..utils import data_dir, roberta_files
label_desc: Use image node_id 2 for calling the TestByteLevelProcessing obj's underlying member method code with example usage: obj.test_processing(roberta_files) without return types