code: def test_actor_exception_2(self):
      return_true = mock.Mock(return_value=True)
      with mock.patch(
          "parl.remote.remote_class_serialization.is_implemented_in_notebook",
          return_true,
      ):
          self.add_master()
          self.add_worker(n_cpu=1)
          parl.connect("localhost:{}".format(self.port))
  
          actor = Actor()
          with self.assertRaises(exceptions.RemoteError):
              actor.will_raise_exception_func()
  
          actor2 = Actor()
          self.assertEqual(actor2.add_one(1), 2)
  
imports: import unittest
  import parl
  import time
  import threading
  from parl.remote import exceptions
  import subprocess
  from parl.utils import logger
  from unittest import mock
  from parl.utils.test_utils import XparlTestCase
label_desc: Use image node_id 1 for calling the TestCluster obj's underlying member method code with example usage: obj.test_actor_exception_2() without return types