code: def test_scan(self):
      with self.test_session():
          b = tf.Variable(0.0)
          op = tf.scan(
              lambda a, x: a + b + x, tf.constant([2.0, 3.0, 1.0])
          )
  
          self.assertEqual(get_variables(op), [b])
  
file_path: edward/tests/util/get_variables_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  from edward.models import Bernoulli, Normal
  from edward.util import get_variables
label_desc: Use image node_id 6 for calling the test_get_variables_class obj's underlying member method code with example usage: obj.test_scan() without return types