code: def __init__(self, d, p, r):
      self.delay = d
      self.promise = p
      self.reason = r
      Thread.__init__(self)
  
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 1 to create a new DelayedRejection object from inherited base classes: Thread with example: obj = DelayedRejection(d, p, r)