code: def test_compute_norms_ndim6_raises():
      from lasagne.utils import compute_norms
  
      array = np.random.randn(1, 2, 3, 4, 5, 6).astype(
          theano.config.floatX
      )
  
      with pytest.raises(ValueError) as excinfo:
          compute_norms(array)
  
      assert "Unsupported tensor dimensionality" in str(excinfo.value)
  
imports: from mock import Mock
  import pytest
  import numpy
  import theano
  import theano.tensor
label_desc: Use image node_id 12 for calling a global function with example usage: test_compute_norms_ndim6_raises() without return types