code: def test_th_tokenizer_pickle(th_tokenizer):
      b = pickle.dumps(th_tokenizer)
      th_tokenizer_re = pickle.loads(b)
      assert th_tokenizer.to_bytes() == th_tokenizer_re.to_bytes()
  
imports: import pickle
  from spacy.lang.th import Thai
  from ...util import make_tempdir
label_desc: Use image node_id 2 for calling a global function with example usage: test_th_tokenizer_pickle(th_tokenizer) without return types