code: def test_exception(self, error_param):
      with pytest.raises(
          Exception
      ):  # AssertError and NotImplementedError
          K.PatchSequential(
              K.ImageSequential(
                  K.ColorJiggle(0.1, 0.1, 0.1, 0.1, p=0.5),
                  K.RandomPerspective(0.2, p=0.5),
                  K.RandomSolarize(0.1, 0.1, p=0.5),
              ),
              K.ColorJiggle(0.1, 0.1, 0.1, 0.1),
              K.ImageSequential(
                  K.ColorJiggle(0.1, 0.1, 0.1, 0.1, p=0.5),
                  K.RandomPerspective(0.2, p=0.5),
                  K.RandomSolarize(0.1, 0.1, p=0.5),
              ),
              K.ColorJiggle(0.1, 0.1, 0.1, 0.1),
              **error_param,
          )
  
imports: from functools import partial
  from unittest.mock import patch
  import pytest
  import torch
  import kornia
  import kornia.augmentation
  from kornia.augmentation.container.base import ParamItem
  from kornia.constants import BorderType
  from kornia.geometry.bbox import bbox_to_mask
  from kornia.testing import assert_close
label_desc: Use image node_id 1 for calling the TestPatchSequential obj's underlying member method code with example usage: obj.test_exception(error_param) without return types