code: def test_custom_evaluate_timeout_with_script(self):
      # Uncomment the following line to preserve
      # test case output and other files (config, state, ect.)
      # in system temp folder.
      self.set_delete_temp_folder(False)
  
      payload = """
              {
                  "data": { "_arg1": 1 },
                  "script":
                  "import time\\ntime.sleep(100)\\nreturn 1"
              }
              """
      headers = {
          "Content-Type": "application/json",
          "TabPy-Client": "Integration test for testing custom evaluate timeouts "
          "with scripts.",
      }
  
      conn = self._get_connection()
      conn.request("POST", "/evaluate", payload, headers)
      res = conn.getresponse()
      actual_error_message = res.read().decode("utf-8")
  
      self.assertEqual(408, res.status)
      self.assertEqual(
          '{"message": '
          '"User defined script timed out. Timeout is set to 3.0 s.", '
          '"info": {}}',
          actual_error_message,
      )
  
imports: from .None import integ_test_base
label_desc: Use image node_id 2 for calling the TestCustomEvaluateTimeout obj's underlying member method code with example usage: obj.test_custom_evaluate_timeout_with_script() without return types