D1750: run-tests: extract sorting of tests to own function

quark (Jun Wu) phabricator at mercurial-scm.org
Fri Dec 22 15:45:24 EST 2017


quark added inline comments.

INLINE COMMENTS

> run-tests.py:2271
>  
> +def sorttests(tests, shuffle=False):
> +    """Do an in-place sort of tests."""

I prefer the name `testdescs` since they are "test descriptions", not the real test objects. I think I renamed `tests` to `testdescs` intentionally.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1750

To: indygreg, #hg-reviewers
Cc: quark, mercurial-devel


More information about the Mercurial-devel mailing list