# fixhunt regression fixture: ruff PLR1733, ruff 0.17.1 # the fix labelled safe changes the program's output on this program # before the fix: no stdout, exit 0 # after the fix: no stdout, stderr "TypeError: object int can't be used in 'await' expression", exit 1 # finding 2026-10-17T21-02-04-500Z-1p30-ruff-PLR1733/r1-p007; rule fired 1 time(s) before the fix async def get_val(k): return k class AwaitableDict(dict): def __getitem__(self, key): return get_val(key) async def main(): d = AwaitableDict({'x': 1}) for k, v in d.items(): x = await d[k] # triggers PLR1733: would become await v — but v is int, not awaitable import asyncio result = asyncio.run(main())