code: def test_promises_promisify_still_works_but_deprecated_for_non_callables():
      x = promisify(1)
      assert isinstance(x, Promise)
      assert x.get() == 1
  
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 45 for calling a global function with example usage: test_promises_promisify_still_works_but_deprecated_for_non_callables() without return types