code: def write_sample_scripts(self, dir):
      expected = []
      expected.append("script1.py")
      self.write_script(
          dir,
          "script1.py",
          (
              "#! /usr/bin/env python2.3\n"
              "# bogus script w/ Python sh-bang\n"
              "pass\n"
          ),
      )
      expected.append("script2.py")
      self.write_script(
          dir,
          "script2.py",
          (
              "#!/usr/bin/python\n"
              "# bogus script w/ Python sh-bang\n"
              "pass\n"
          ),
      )
      expected.append("shell.sh")
      self.write_script(
          dir,
          "shell.sh",
          (
              "#!/bin/sh\n"
              "# bogus shell script w/ sh-bang\n"
              "exit 0\n"
          ),
      )
      return expected
  
file_path: catboost/contrib/tools/python/src/Lib/distutils/tests/test_build_scripts.py
imports: import os
  import unittest
  from distutils.command.build_scripts import build_scripts
  from distutils.core import Distribution
  import sysconfig
  from distutils.tests import support
  from test.test_support import run_unittest
label_desc: Use image node_id 4 for calling the BuildScriptsTestCase obj's underlying member method code with example usage: obj.write_sample_scripts(dir) and returns: expected