code: def test_issue_33():
      def do(x):
          v = Promise.resolve("ok").then(lambda x: x).get()
          return v
  
      p = Promise.resolve(None).then(do)
      assert p.get() == "ok"
  
file_path: wandb/wandb/vendor/promise-2.3.0/tests/test_issues.py
imports: from concurrent.futures import ThreadPoolExecutor
  from promise import Promise
  import time
  import weakref
  import gc
label_desc: Use image node_id 7 for calling a global function with example usage: test_issue_33() and returns: v