Both can be used in the same construct:
async with asyncio.timeout(99): await ...
async with asyncio.Timeout(99): await ...
But the latter has a different meaning and is probably not what you want. There is no error and no pylint warning. I also made that mistake and confused those two. I don’t know what possibilities are there for a fix, but I think it is quite unfortunate that currently it is so easy to make such mistake.