(val)
| 135 | # NOTE: sleep here is not necessary. It's used to simulate IO |
| 136 | # ensuring that task are not run sequentially |
| 137 | async def async_inner(val): |
| 138 | await asyncio.sleep(random.uniform(0.005, 0.015)) |
| 139 | eq_(val, var.get()) |
| 140 | return var.get() |
| 141 | |
| 142 | async def async_set(val): |
| 143 | await asyncio.sleep(random.uniform(0.005, 0.015)) |