зеркало из https://github.com/mozilla/rappor.git
Migrate non-Android users off //third_party/java/android_libs/guava_jdk5.
This CL migrates them to the equivalent [] library. More information: [] Tested: TAP train for global presubmit queue [] Some tests failed; test failures are believed to be unrelated to this CL ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=115665542
This commit is contained in:
Родитель
25347aeae8
Коммит
04a5e26214
|
@ -17,7 +17,6 @@
|
|||
"""
|
||||
rappor_test.py: Tests for rappor.py
|
||||
"""
|
||||
|
||||
import cStringIO
|
||||
import copy
|
||||
import math
|
||||
|
|
|
@ -80,6 +80,7 @@ RunRappor <- function(prefix_case, prefix_instance, ctx) {
|
|||
counts <- ReadCountsFile(c, ctx$params)
|
||||
|
||||
m <- paste0(prefix_case, '_map.csv')
|
||||
|
||||
# Switch to LoadMapFile if want to cache the result
|
||||
map <- ReadMapFile(m, ctx$params)
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
"""
|
||||
fastrand_test.py: Tests for _fastrand extension module.
|
||||
"""
|
||||
|
||||
import unittest
|
||||
|
||||
import _fastrand # module under test
|
||||
|
|
|
@ -111,6 +111,7 @@ def GenAssocTestdata(params1, params2, irr_rand, assoc_testdata_count,
|
|||
for i in xrange(n):
|
||||
for v1, v2 in rows:
|
||||
client_str = 'c%d' % report_index
|
||||
|
||||
# randint(a, b) gives i such that a <= i <= b
|
||||
cohort = random.randint(0, params1.num_cohorts - 1)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче