code: def test_promise_lazy_promise():
      p = Promise()
      all_promises = all([1, 2, p])
      assert not all_promises.is_fulfilled
      p.do_resolve(3)
      assert all_promises.get() == [1, 2, 3]
  
file_path: wandb/wandb/vendor/promise-2.3.0/tests/test_promise_list.py
imports: from pytest import raises
  from promise import Promise
  from promise.promise_list import PromiseList
label_desc: Use image node_id 8 for calling a global function with example usage: test_promise_lazy_promise() without return types