#NEWLINE# def test_asyncio_schedule_now( self ) : #NEWLINE# #INDENT# loop = asyncio . get_event_loop ( ) #NEWLINE# scheduler = AsyncIOScheduler ( self ) #NEWLINE# res = ( scheduler . now ( ) - datetime . now ( ) ) #NEWLINE# assert ( res < timedelta ( seconds = 1 ) )