def sleep(dt):
  fut = Future('sleep(%.3f)' % dt)
  eventloop.queue_call(dt, fut.set_result, None)
  return fut
Initial setting up of test fixture, automatically called by TestCase
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/tasklets.py/sleep--crossover with--dataset/ETHPy150Open enthought/mayavi/mayavi/tests/test_registry.py/TestRegistry.setUp