code: def test_array_view_invalid():
      a = np.ones(100 * 4).astype("uint8")
      with pytest.raises(TypeError):
          m.array_view(a, "deadly_dtype")
  
imports: import pytest
  import env
  from pybind11_tests import numpy_array
label_desc: Use image node_id 28 for calling a global function with example usage: test_array_view_invalid() without return types