Searched refs:iscoroutinefunction (Results 1 – 13 of 13) sorted by relevance
110 if inspect.iscoroutinefunction(func):160 def iscoroutinefunction(func): function162 return (inspect.iscoroutinefunction(func) or
82 coroutines.iscoroutinefunction(callback)):
699 coroutines.iscoroutinefunction(callback)):
122 self.assertTrue(asyncio.iscoroutinefunction(foo))
1535 self.assertFalse(asyncio.iscoroutinefunction(fn))1539 self.assertFalse(asyncio.iscoroutinefunction(fn1))1544 self.assertTrue(asyncio.iscoroutinefunction(fn2))1546 self.assertFalse(asyncio.iscoroutinefunction(mock.Mock()))1584 self.assertTrue(asyncio.iscoroutinefunction(func))
252 Fix asyncio.iscoroutinefunction to handle Mock objects.
1681 Fix asyncio.iscoroutinefunction to handle Mock objects.
901 .. function:: iscoroutinefunction(func)906 This method is different from :func:`inspect.iscoroutinefunction`
306 .. function:: iscoroutinefunction(object)
90 inspect.iscoroutine, inspect.iscoroutinefunction,100 predicate == inspect.iscoroutinefunction) and \161 self.istest(inspect.iscoroutinefunction, 'coroutine_function_example')173 inspect.iscoroutinefunction(gen_coroutine_function_example))181 inspect.iscoroutinefunction(coroutine_function_example))
499 self.assertTrue(inspect.iscoroutinefunction(ns['foo']))
179 def iscoroutinefunction(object): function
1314 :func:`~inspect.iscoroutine`, :func:`~inspect.iscoroutinefunction`,