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

login
register
mail settings
Submitter phabricator
Date July 21, 2019, 2:34 p.m.
Message ID <82789a77da91970ac3b64d81dd1157c5@localhost.localdomain>
Download mbox | patch
Permalink /patch/40992/
State Not Applicable
Headers show

Comments

phabricator - July 21, 2019, 2:34 p.m.
Closed by commit rHGeb27d9eee2cc: py3: fix test-setdiscovery.t on Python 3 by conditionalizing two lines (authored by durin42).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6658?vs=15972&id=15985

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

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

AFFECTED FILES
  tests/test-setdiscovery.t

CHANGE DETAILS




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

Patch

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 @@ 
   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: 185 (py3 !)
   5 total queries in *.????s (glob)
   elapsed time:  * seconds (glob)
   heads summary: