# HG changeset patch # User Augie Fackler # Date 2019-07-18 18:23:21 # Node ID e19353715a64455574ddaf50e2901a96a286a629 # Parent 55d8329ba50908d6b9e72658b72ec6302dfc9035 py3: fix test-setdiscovery.t on Python 3 by conditionalizing two lines I'm not clear why this behaves very slightly differently on Python 3, but I'm also not concerned about it. Differential Revision: https://phab.mercurial-scm.org/D6658 diff --git a/tests/test-setdiscovery.t b/tests/test-setdiscovery.t --- a/tests/test-setdiscovery.t +++ b/tests/test-setdiscovery.t @@ -980,10 +980,12 @@ One with >200 heads. We now switch to se query 3; still undecided: 980, sample size is: 200 sampling from both directions searching: 4 queries - query 4; still undecided: 435, sample size is: 210 + query 4; still undecided: 435, sample size is: 210 (no-py3 !) + query 4; still undecided: 430, sample size is: 210 (py3 !) sampling from both directions searching: 5 queries - query 5; still undecided: 185, sample size is: 185 + query 5; still undecided: 185, sample size is: 185 (no-py3 !) + query 5; still undecided: 187, sample size is: 187 (py3 !) 5 total queries in *.????s (glob) elapsed time: * seconds (glob) heads summary: