class_docstr: Test various APIs that have been changed in 1.0.
  
  This test will not run in current TensorFlow, but did run in 0.11.
  This file is intended to be converted by a genrule() that uses the converter
  so that a 1.0 compatible version of this file is generated. That is run as
  a unit test if the converter is successful.
code: def testExpandAndSqueeze(self):
      with self.cached_session():
          # TODO(aselle): sparse_split, sparse_reduce_sum,
          #  sparse_reduce_sum_sparse, reduce_join
          a = [[1, 2, 3]]
          self.assertAllEqual(
              tf.expand_dims(tf.squeeze(a, [0]), 0).eval(), a
          )
          self.assertAllEqual(
              tf.squeeze(tf.expand_dims(a, 1), [1]).eval(), a
          )
          self.assertAllEqual(
              tf.expand_dims(
                  tf.squeeze([[1, 2, 3]], axis=[0]), dim=0
              ).eval(),
              a,
          )
          self.assertAllEqual(
              tf.squeeze(
                  tf.expand_dims([[1, 2, 3]], dim=1), axis=[1]
              ).eval(),
              a,
          )
  
          self.assertAllEqual(
              tf.squeeze(
                  tf.expand_dims([[1, 2, 3]], dim=1), axis=[1]
              ).eval(),
              a,
          )
  
file_path: tensorflow/tensorflow/tools/compatibility/testdata/test_file_v0_11.py
imports: import shutil
  import tempfile
  import numpy
  import tensorflow
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import test
label_desc: Use image node_id 3 for calling the TestUpgrade obj's underlying member method code with example usage: obj.testExpandAndSqueeze() without return types