class_docstr: Test zipapp module functionality.
class_docstr_tok: ["Test","zipapp","module","functionality","."]
code: def test_default_no_shebang(self):
      # Test that no shebang line is written to the target by default.
      source = self.tmpdir / "source"
      source.mkdir()
      (source / "__main__.py").touch()
      target = self.tmpdir / "source.pyz"
      zipapp.create_archive(str(source), str(target))
      with target.open("rb") as f:
          self.assertNotEqual(f.read(2), b"#!")
  
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 15 for calling the ZipAppTest obj's underlying member method code with example usage: obj.test_default_no_shebang() without return types