code: def testSysExitCode(self):
      errcode = 7
      for np in (1, 2):
          for r in sorted({0, np - 1}):
              args = ["--rank", str(r), "--sys-exit", str(errcode)]
              status, stdout, stderr = self.execute(args, np)
              self.assertIn(status, (errcode, 1))
              self.assertMPIAbort(stdout, stderr)
              self.assertNotIn("Traceback", stderr)
  
imports: import sys
  import os
  import shlex
  import shutil
  import warnings
  import subprocess
  import unittest
  import mpi4py
label_desc: Use image node_id 4 for calling the TestRunScript obj's underlying member method code with example usage: obj.testSysExitCode() without return types