pypy: fix setdiscovery test

This test relies on the exact details of random.sample given the
seed. Things work a bit differently under pypy, make the test less
specific.
This commit is contained in:
Maciej Fijalkowski 2016-04-05 14:44:18 +03:00
parent e2b3016869
commit 2e11b650af

View File

@ -317,13 +317,13 @@ One with >200 heads, which used to use up all of the sample:
query 3; still undecided: 1140, sample size is: 200
sampling from both directions
searching: 4 queries
query 4; still undecided: 592, sample size is: 200
query 4; still undecided: \d+, sample size is: 200 (re)
sampling from both directions
searching: 5 queries
query 5; still undecided: 292, sample size is: 200
query 5; still undecided: \d+, sample size is: 200 (re)
sampling from both directions
searching: 6 queries
query 6; still undecided: 51, sample size is: 51
query 6; still undecided: \d+, sample size is: \d+ (re)
6 total queries
common heads: 3ee37d65064a