code: def test_pooling_exceptions(self):
      with self.assertRaises(ValueError):
          layers.MaxPooling((2, 2), padding="TEST")
  
      with self.assertRaises(ValueError):
          layers.MaxPooling((2, 2), padding=1)
  
imports: from collections import namedtuple
  import numpy
  import tensorflow
  from neupy import layers
  from neupy.utils import asfloat
  from neupy.exceptions import LayerConnectionError
  from neupy.layers.pooling import pooling_output_shape
  from base import BaseTestCase
label_desc: Use image node_id 6 for calling the PoolingLayersTestCase obj's underlying member method code with example usage: obj.test_pooling_exceptions() without return types