D6658: py3: fix test-setdiscovery.t on Python 3 by conditionalizing two lines

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Sun Jul 21 10:24:14 EDT 2019


This revision is now accepted and ready to land.
martinvonz added a comment.
martinvonz accepted this revision.


  Heh, I wrote a patch for this before I saw yours. The problem is that `random.sample()` (and other integer-based functions) changed, see https://bugs.python.org/issue27742.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6658/new/

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

To: durin42, #hg-reviewers, martinvonz
Cc: martinvonz, mjpieters, mercurial-devel


More information about the Mercurial-devel mailing list