I just saw that issue #514 reported the same problem and that it is fixed in master, but not yet released, and that a release is coming out shortly. This issue can be closed. Sorry for not checking ...
In two different PRs (gh-113754 and gh-11166) (both making separate, innocent-seeming changes to async generators), some test (but not the same one) is consistently reporting an attribute on ...