import tensorflow as tf

    if tf.executing_eagerly():
      return

    # Test case 3.
    x = tf.placeholder_with_default(input=1, shape=None)
    is_scalar = normal._is_scalar_helper(x.shape, lambda: tf.shape(x))
    self.assertTrue(self.evaluate(is_scalar))

