code: def test_promise_repr_pending():
      val = {1: 2}
      promise = Promise.fulfilled(val)
      promise._wait()
      assert repr(
          promise
      ) == "<Promise at {} fulfilled with {}>".format(
          hex(id(promise)), repr(val)
      )
  
imports: from time import sleep
  from pytest import raises, fixture
  from threading import Event
  from promise import Promise, is_thenable, promisify, promise_for_dict
  from concurrent.futures import Future
  from threading import Thread
  from .utils import assert_exception
label_desc: Use image node_id 36 for calling a global function with example usage: test_promise_repr_pending() without return types