code: def test_eager_subs_variable():
      v = Variable("v", Real)
      data = Tensor(randn(3))
      c = Constant(OrderedDict(b=Real), data)
      assert c(b=v) is Constant(OrderedDict(v=Real), data)
  
file_path: funsor/test/test_constant.py
imports: from collections import OrderedDict
  import funsor.ops
  from funsor.constant import Constant
  from funsor.delta import Delta
  from funsor.domains import Bint, Real
  from funsor.tensor import Tensor
  from funsor.terms import Number, Variable, to_data, to_funsor
  from funsor.testing import assert_close, randn, requires_backend
label_desc: Use image node_id 1 for calling a global function with example usage: test_eager_subs_variable() without return types