code: def assertSurvive(self, script, args=None, timeout=20):  # noqa
      cmd = "python{} {}".format(sys.version_info.major, script)
      if args:
          cmd += " " + " ".join(args)
      PythonScript(cmd, timeout=timeout).execute()
  
file_path: tensorpack/tests/case_script.py
imports: from abc import abstractproperty
  import unittest
  import subprocess
  import shlex
  import sys
  import threading
  import os
  import shutil
label_desc: Use image node_id 3 for calling the TestPythonScript obj's underlying member method code with example usage: obj.assertSurvive(script, args, timeout) without return types