docstr: Tests that the shape exceptions are not raised.
docstr_tok: ["Tests","that","the","shape","exceptions","are","not","raised","."]
code: def test_upsample_exception_not_raised(self, *shape):
      """Tests that the shape exceptions are not raised."""
      upsample = lambda image: pyramid.upsample(
          image, num_levels=_NUM_LEVELS
      )
  
      self.assert_exception_is_not_raised(upsample, shape)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import numpy
  from six.moves import range
  import tensorflow
  from tensorflow_graphics.image import pyramid
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 5 for calling the PyramidTest obj's underlying member method code with example usage: obj.test_upsample_exception_not_raised() without return types