code: def test_non_kernel_layer():
      images = tf.random.uniform((2, 2, 2))
      with pytest.raises(ValueError, match="contains a `kernel`"):
          non_kernel_layer = tf.keras.layers.MaxPooling2D(2, 2)
          wn_wrapper = wrappers.WeightNormalization(non_kernel_layer)
          wn_wrapper(images)
  
file_path: addons/tensorflow_addons/layers/tests/wrappers_test.py
imports: import os
  import tempfile
  import pytest
  import numpy
  import tensorflow
  from tensorflow_addons.layers import wrappers
  from tensorflow_addons.utils import test_utils
label_desc: Use image node_id 7 for calling a global function with example usage: test_non_kernel_layer() without return types