code: def test_stylize_fail(self):
      style_cases = self._get_invalid_style_cases()
      model = self.model
      for style in style_cases:
          expected_exception_type = _ToolkitError
          if isinstance(style, str):
              expected_exception_type = TypeError
          with self.assertRaises(expected_exception_type):
              model.stylize(self.content_sf[0:1], style=style)
  
      with self.assertRaises(TypeError):
          model.stylize("junk value")
      with self.assertRaises(_ToolkitError):
          model.stylize(self.content_sf[0:1], style=-1)
      with self.assertRaises(_ToolkitError):
          model.stylize(self.content_sf[0:1], style=1, max_size=0)
      with self.assertRaises(TypeError):
          model.stylize(self.content_sf, style=5, batch_size="12")
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import unittest
  import pytest
  from .None import util
  import turicreate
  import tempfile
  import numpy
  import platform
  import sys
  import os
  from turicreate.toolkits._main import ToolkitError
  from turicreate.toolkits._internal_utils import _raise_error_if_not_sframe, _mac_ver
label_desc: Use image node_id 15 for calling the StyleTransferTest obj's underlying member method code with example usage: obj.test_stylize_fail() without return types