code: def test_transforms_type_when_deserializing():
      with pytest.raises(TypeError):
          slu.from_dict(2)
  
file_path: solt/tests/test_utils.py
imports: import solt.utils
  import solt.transforms
  import solt.core
  import pytest
  import json
  import pathlib
  import yaml
label_desc: Use image node_id 9 for calling a global function with example usage: test_transforms_type_when_deserializing() without return types