code: def test_get_width_fail(obj):
      with pytest.raises(ValueError):
          get_width(obj)
  
file_path: thinc/thinc/tests/test_util.py
imports: import numpy
  import pytest
  from hypothesis import given
  from thinc.api import Padded, Ragged, get_width
  from thinc.types import ArgsKwargs
  from thinc.util import convert_recursive, get_array_module, is_cupy_array, is_numpy_array, to_categorical
  from .None import strategies
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_width_fail(obj) without return types