code: def test_callpipe():
      # -- set up some 1-variable functions
      a2 = scope.partial("add", 2)
      a3 = scope.partial("add", 3)
  
      def s9(a):
          return scope.sub(a, 9)
  
      # x + 2 + 3 - 9 == x - 4
      r = scope.callpipe1([a2, a3, s9], 5)
      thing = rec_eval(r)
      assert thing == 1
  
imports: from hyperopt.pyll import base
  from hyperopt.pyll.base import Literal, as_apply, Apply, dfs, scope, rec_eval, p0, Lambda, clone_merge
  from nose import SkipTest
  from nose.tools import assert_raises
  import numpy
label_desc: Use image node_id 21 for calling a global function with example usage: test_callpipe() and returns: scope