( )⚙ D8629 tests: consistently use pyflakes as a Python module

This is an archive of the discontinued Mercurial Phabricator instance.

tests: consistently use pyflakes as a Python module
ClosedPublic

Authored by marmoute on Jun 13 2020, 5:07 AM.

Details

Summary

We check availability of pyflakes as a module, and also running it for real as
a module. Only fair to test filterpyflakes.py working correctly when using
pyflakes as a module too.

This is a graft of a similar fix that ended up on default.

Diff Detail

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

Event Timeline

marmoute created this revision.Jun 13 2020, 5:07 AM
pulkit accepted this revision.Jun 15 2020, 4:33 AM
This revision is now accepted and ready to land.Jun 15 2020, 4:33 AM
This revision was automatically updated to reflect the committed changes.