docstr: e <- d <- a -> b -> c
docstr_tok: ["e","<","-","d","<","-","a","-",">","b","-",">","c"]
code: def test_a_structure(self):
      """e <- d <- a -> b -> c"""
      with self.test_session():
          a = Normal(0.0, 1.0)
          b = Normal(a, 1.0)
          c = Normal(b, 1.0)
          d = Normal(a, 1.0)
          e = Normal(d, 1.0)
          self.assertEqual(get_parents(a), [])
          self.assertEqual(get_parents(b), [a])
          self.assertEqual(get_parents(c), [b])
          self.assertEqual(get_parents(d), [a])
          self.assertEqual(get_parents(e), [d])
  
file_path: edward/tests/util/get_parents_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_parents
label_desc: Use image node_id 2 for calling the test_get_parents_class obj's underlying member method code with example usage: obj.test_a_structure() without return types