Skip to content

Commit 2ad29cb

Browse files
sagipecopybara-github
authored andcommitted
Relaxed test tolerance
PiperOrigin-RevId: 725259007
1 parent 7ce0ae8 commit 2ad29cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vizier/_src/algorithms/designers/gp_ucb_pe_test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@ def test_on_flat_space(
328328
# single-metric case because the acquisition value in the multi-metric
329329
# case is randomly scalarized.
330330
if num_metrics == 1:
331-
self.assertAlmostEqual(mean + 10.0 * stddev_from_all, acq)
331+
expected_acq = mean + 10.0 * stddev_from_all
332+
self.assertAlmostEqual(expected_acq, acq, delta=1e-6)
332333
self.assertTrue(use_ucb)
333334
continue
334335

0 commit comments

Comments
 (0)