class_docstr: Test zipapp module command line API.
class_docstr_tok: ["Test","zipapp","module","command","line","API","."]
code: def setUp(self):
      tmpdir = tempfile.TemporaryDirectory()
      self.addCleanup(tmpdir.cleanup)
      self.tmpdir = pathlib.Path(tmpdir.name)
  
imports: import io
  import pathlib
  import stat
  import sys
  import tempfile
  import unittest
  import zipapp
  import zipfile
  from test.support import requires_zlib
  from test.support import os_helper
  from unittest.mock import patch
label_desc: Use image node_id 1 for calling the ZipAppCmdlineTest obj's underlying member method code with example usage: obj.setUp() without return types