class_docstr: A unittest class for testing Poisoning Attack on SVMs.
class_docstr_tok: ["A","unittest","class","for","testing","Poisoning","Attack","on","SVMs","."]
code: def test_unsupported_kernel(self):
      (x_train, y_train), (x_test, y_test), min_, max_ = self.iris
      model = SVC(kernel="sigmoid", gamma="auto")
      with self.assertRaises(TypeError):
          _ = PoisoningAttackSVM(
              classifier=model,
              step=0.01,
              eps=1.0,
              x_train=x_train,
              y_train=y_train,
              x_val=x_test,
              y_val=y_test,
          )
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import unittest
  import numpy
  from sklearn.svm import NuSVC, SVC
  from art.attacks.poisoning import PoisoningAttackSVM
  from art.estimators.classification.scikitlearn import SklearnClassifier, ScikitlearnSVC
  from art.utils import load_iris
  from tests.utils import master_seed
  from tests.attacks.utils import backend_test_classifier_type_check_fail
label_desc: Use image node_id 5 for calling the TestSVMAttack obj's underlying member method code with example usage: obj.test_unsupported_kernel() without return types