code: def test_resolve_promise_subclass():
      class MyPromise(Promise):
          pass
  
      p = Promise()
      p.do_resolve(10)
      m_p = MyPromise.resolve(p)
  
      assert isinstance(m_p, MyPromise)
      assert m_p.get() == p.get()
  
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 34 for calling a global function with example usage: test_resolve_promise_subclass() without return types