| 137 | |
| 138 | def test_isfuture(self): |
| 139 | class MyFuture: |
| 140 | _asyncio_future_blocking = None |
| 141 | |
| 142 | def __init__(self): |
| 143 | self._asyncio_future_blocking = False |
| 144 | |
| 145 | self.assertFalse(asyncio.isfuture(MyFuture)) |
| 146 | self.assertTrue(asyncio.isfuture(MyFuture())) |
no outgoing calls
searching dependent graphs…