Emit yield test warning only once per generator