code: def test_pickle(self, alpharep, path_type, subpath):
      zipfile_ondisk = path_type(self.zipfile_ondisk(alpharep))
  
      saved_1 = pickle.dumps(zipfile.Path(zipfile_ondisk, at=subpath))
      restored_1 = pickle.loads(saved_1)
      first, *rest = restored_1.iterdir()
      assert first.read_text(encoding="utf-8").startswith("content of ")
  
imports: import io
  import itertools
  import contextlib
  import pathlib
  import pickle
  import sys
  import unittest
  import zipfile
  from ._functools import compose
  from ._itertools import Counter
  from ._test_params import parameterize, Invoked
  from test.support.os_helper import temp_dir
label_desc: Use image node_id 48 for calling the TestPath obj's underlying member method code with example usage: obj.test_pickle(alpharep, path_type, subpath) without return types