This is an archive of the discontinued Mercurial Phabricator instance.

tests: use range() in generate-churning-module.py
ClosedPublic

Authored by indygreg on Oct 7 2019, 4:06 PM.

Details

Summary

This is a test-only script. Performance on Python 2 for creating a
full list instead of a generator doesn't matter.

With this change, test-check-pyflakes.t passes on Python 3!

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Oct 7 2019, 4:06 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.