code: def test_wrong_mode(self):
      with self.assertRaises(ValueError):
          SkipConnection(torch.nn.Softmax(dim=1), mode="test")(
              torch.randn(10, 10)
          )
  
file_path: MONAI/tests/test_skip_connection.py
imports: from __future__ import annotations
  import unittest
  import torch
  from parameterized import parameterized
  from monai.networks import eval_mode
  from monai.networks.layers import SkipConnection
label_desc: Use image node_id 2 for calling the TestSkipConnection obj's underlying member method code with example usage: obj.test_wrong_mode() without return types