code: def test_matrix_from_object_without_shape():
      with raises(AttributeError):
          matrix("invalid")
  
file_path: dlib/tools/python/test/test_matrix.py
imports: from dlib import matrix
  from pytest import raises
label_desc: Use image node_id 5 for calling a global function with example usage: test_matrix_from_object_without_shape() without return types