code: def testMissingArg2(self):
      with ops.Graph().as_default():
          with session.Session():
              x = constant_op.constant(1)
              with self.assertRaises(TypeError):
                  smart_cond.smart_cond(True, lambda: x)
  
imports: from tensorflow.python.client import session
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import smart_cond
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import cond
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 7 for calling the SmartCondTest obj's underlying member method code with example usage: obj.testMissingArg2() without return types