Page MenuHomePhabricator

tests: consistently use pyflakes as a Python module
ClosedPublic

Authored by av6 on Jun 6 2020, 7:31 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.

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

av6 created this revision.Jun 6 2020, 7:31 AM
mjacob accepted this revision.Jun 6 2020, 8:35 AM
mjacob added a subscriber: mjacob.
mjacob added inline comments.
tests/test-check-pyflakes.t
11

For some reason this wasn’t included in rHGe397c6d74652, although I found an earlier version of that patch on my machine including it. Probably it got lost during merge conflict resolution.

pulkit accepted this revision.Jun 9 2020, 4:59 AM
This revision is now accepted and ready to land.Jun 9 2020, 4:59 AM
This revision was automatically updated to reflect the committed changes.