code: def test_get_splitter_instance_with_invalid_types():
      with pytest.raises(ValueError):
          sagemaker.local.data.get_splitter_instance("SomethingInvalid")
  
imports: from __future__ import absolute_import
  import sys
  import pytest
  from mock import patch, Mock
  import sagemaker.amazon
  import sagemaker.local.data
label_desc: Use image node_id 8 for calling a global function with example usage: test_get_splitter_instance_with_invalid_types() without return types