This is an archive of the discontinued Mercurial Phabricator instance.

tests: adjust to the new format in pyflakes output

Authored by av6 on Jun 6 2020, 7:31 AM.



According to the pyflakes' NEWS.rst, the default output format changed

2.2.0 (2020-04-08)
- Include column information in error messages

So the lines now read:

contrib/ undefined name 'xrange'
mercurial/hgweb/ undefined name 'reload'
mercurial/ undefined name 'file'

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

av6 created this revision.Jun 6 2020, 7:31 AM
mjacob added a subscriber: mjacob.Jun 6 2020, 8:43 AM

Personally, I would have used REs in the first place, but since they were already using globs, this LGTM.

mjacob accepted this revision.Jun 6 2020, 8:43 AM
pulkit accepted this revision.Jun 9 2020, 5:00 AM
This revision is now accepted and ready to land.Jun 9 2020, 5:00 AM
This revision was automatically updated to reflect the committed changes.