code: def test_norm_constraint_dim6_raises():
      import numpy as np
      import theano
      from lasagne.updates import norm_constraint
  
      max_norm = 0.01
  
      param = theano.shared(
          np.random.randn(1, 2, 3, 4, 5, 6).astype(theano.config.floatX)
      )
  
      with pytest.raises(ValueError) as excinfo:
          norm_constraint(param, max_norm)
      assert "Unsupported tensor dimensionality" in str(excinfo.value)
  
file_path: Lasagne/lasagne/tests/test_updates.py
imports: import pytest
  import numpy
  import theano
  import theano.tensor
  import lasagne
label_desc: Use image node_id 4 for calling a global function with example usage: test_norm_constraint_dim6_raises() without return types