Skip to content

Commit

Permalink
ENH always clear the cache
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr committed Jun 30, 2022
1 parent 205e1ca commit fbd59ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ngmix/tests/test_metacal_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fbd59ea

Please sign in to comment.