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 testVariables(self):
      with self.cached_session() as s:
          # make some variables
          _ = [
              tf.Variable([1, 2, 3], dtype=tf.float32),
              tf.Variable([1, 2, 3], dtype=tf.int32),
          ]
          s.run(tf.global_variables_initializer())
          _ = [v.name for v in tf.all_variables()]
          _ = [v.name for v in tf.local_variables()]
  
file_path: tensorflow-upstream/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 7 for calling the TestUpgrade obj's underlying member method code with example usage: obj.testVariables() without return types