diff --git a/ngmix/tests/test_metacal_cache.py b/ngmix/tests/test_metacal_cache.py index 4d35b791..b50a0d69 100644 --- a/ngmix/tests/test_metacal_cache.py +++ b/ngmix/tests/test_metacal_cache.py @@ -11,6 +11,8 @@ @flaky(max_runs=10) def test_metacal_cache(): + _cached_galsim_stuff.cache_clear() + # first warm up numba rng = np.random.RandomState(seed=100) obs = _get_obs(rng, noise=0.005, set_noise_image=True, psf_fwhm=0.8, n=300)