pytest-dev__pytest-11143
Rewrite fails when first expression of file is a number and mistaken as docstring
Verdict: the issue points to the file or function that was changed (Tier B).
It seems to me that we have a potential bug in the ast transformer where's in case the first expression of a file is a integer, we mistake it as a docstring
The text points to the exact place to change: “It seems to me that we have a potential bug in the ast transformer where's in case the first expression of a file is a integer, we mistake it as a docstring”
All SWE-bench Lite tasks · more pytest-dev/pytest tasks · How the check works