def test_dump_info(): cs = io.StringIO() debug.dump_info(None, None, file=cs, testing=True) assert cs.getvalue()
async def test_dump_info_async(): cs = io.StringIO() debug.dump_info(None, None, file=cs, testing=True) if sys.version_info >= (3, 8): assert "Tasks" in cs.getvalue()
async def test_dump_info_async(): cs = io.StringIO() debug.dump_info(None, None, file=cs, testing=True) assert "Tasks" in cs.getvalue()