code: def test_type(self):
      with self.assertRaises(TypeError):
          KerasRegressor(model="model")
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import unittest
  import numpy
  from art.estimators.regression.keras import KerasRegressor
  from tests.utils import TestBase, master_seed, get_tabular_regressor_kr
label_desc: Use image node_id 2 for calling the TestKerasRegressorClass obj's underlying member method code with example usage: obj.test_type() without return types