code: def test_if_expr(self):
      source = "d = b if a else c"
      self.assertDepends(
          source,
          {("d", "a"), ("d", "b"), ("d", "c")},
          {"a", "b", "c"},
          {"d"},
      )
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import unittest
  import ast
  from ...asttools.visitors.graph_visitor import GraphGen
  from ...asttools.visitors.graph_visitor import DiGraph
  from ...asttools.tests import AllTypesTested, skip_networkx
label_desc: Use image node_id 28 for calling the Test obj's underlying member method code with example usage: obj.test_if_expr() without return types