This is an archive of the discontinued Mercurial Phabricator instance.

tests: allow xrange warning from perf.py
ClosedPublic

Authored by indygreg on Oct 5 2019, 4:57 PM.

Details

Summary

The use of xrange in this file is acceptable.

We need to make the output optional - and not conditional on
the Python version - because pyflakes could be executed by any
Python version and pyflakes behaves differently depending on the
Python version.

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

indygreg created this revision.Oct 5 2019, 4:57 PM
indygreg retitled this revision from tests: filter xrange warning from perf.py to tests: allow xrange warning from perf.py.Oct 5 2019, 5:58 PM
indygreg edited the summary of this revision. (Show Details)
indygreg updated this revision to Diff 16863.
indygreg set the repository for this revision to rHG Mercurial.Oct 6 2019, 10:39 AM
pulkit accepted this revision.Oct 6 2019, 10:40 AM
This revision is now accepted and ready to land.Oct 6 2019, 10:40 AM
This revision was automatically updated to reflect the committed changes.