From f2af6ee17339d98548f5b1f45fa7605e4ab596bb Mon Sep 17 00:00:00 2001 From: mhucka Date: Fri, 10 Jul 2026 02:48:35 +0000 Subject: [PATCH] Use retry_once_with_later_random_values instead of pytest retries --- .../resource_estimates/pbc/thc/factorizations/isdf_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openfermion/resource_estimates/pbc/thc/factorizations/isdf_test.py b/src/openfermion/resource_estimates/pbc/thc/factorizations/isdf_test.py index 741971681..1ef72abeb 100644 --- a/src/openfermion/resource_estimates/pbc/thc/factorizations/isdf_test.py +++ b/src/openfermion/resource_estimates/pbc/thc/factorizations/isdf_test.py @@ -15,6 +15,7 @@ import pytest from openfermion.resource_estimates import HAVE_DEPS_FOR_RESOURCE_ESTIMATES +from openfermion.testing import retry_once_with_later_random_values if HAVE_DEPS_FOR_RESOURCE_ESTIMATES: from ase.build import bulk @@ -360,7 +361,7 @@ def get_complement(miller_indx, kmesh): @pytest.mark.skipif(not HAVE_DEPS_FOR_RESOURCE_ESTIMATES, reason='pyscf and/or jax not installed.') @pytest.mark.slow -@pytest.mark.flaky(retries=1) +@retry_once_with_later_random_values def test_kpoint_isdf_symmetries(): cell = gto.Cell() cell.atom = """