code: def test_classifier_type_check_fail(art_warning):
      try:
          backend_test_classifier_type_check_fail(
              SquareAttack, [BaseEstimator, NeuralNetworkMixin]
          )
      except ARTTestException as e:
          art_warning(e)
  
file_path: adversarial-robustness-toolbox/tests/attacks/evasion/test_square_attack.py
imports: import logging
  import pytest
  import numpy
  from art.attacks.evasion import SquareAttack
  from art.estimators.estimator import BaseEstimator, NeuralNetworkMixin
  from tests.attacks.utils import backend_test_classifier_type_check_fail
  from tests.utils import ARTTestException
label_desc: Use image node_id 4 for calling a global function with example usage: test_classifier_type_check_fail(art_warning) without return types