code: def test_promise_basic():
      all_promises = all([1, 2])
      assert all_promises.get() == [1, 2]
  
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 4 for calling a global function with example usage: test_promise_basic() without return types