code: def test_check_params_pytorch(art_warning):
      try:
          with pytest.raises(ValueError):
              _ = ImageSquarePadPyTorch(
                  pad_mode="constant", clip_values=(0,)
              )
  
          with pytest.raises(ValueError):
              _ = ImageSquarePadPyTorch(
                  pad_mode="constant", clip_values=(1, 0)
              )
  
      except ARTTestException as e:
          art_warning(e)
  
file_path: adversarial-robustness-toolbox/tests/preprocessing/image/test_image_square_pad.py
imports: import logging
  import numpy
  import pytest
  from art.config import ART_NUMPY_DTYPE
  from art.preprocessing.image import ImageSquarePad, ImageSquarePadPyTorch, ImageSquarePadTensorFlowV2
  from tests.utils import ARTTestException
label_desc: Use image node_id 6 for calling a global function with example usage: test_check_params_pytorch(art_warning) without return types