From d1bbeeaf537e23ec7d4592f2f8da515dfac7ffaa Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 17:45:42 +0000 Subject: [PATCH] pre-commit.ci: style fixes --- tests/test_fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_fields.py b/tests/test_fields.py index 54a7f133..11f322d5 100644 --- a/tests/test_fields.py +++ b/tests/test_fields.py @@ -385,7 +385,7 @@ def test_generate_lognormal(rng: np.random.Generator) -> None: rng = np.random.default_rng(seed=42) new_lognormal_fields = list(generate_lognormal(gls, nside, shift=2.0, rng=rng)) - for ms, mu in zip(new_lognormal_fields, lognormal_fields): + for ms, mu in zip(new_lognormal_fields, lognormal_fields, strict=False): np.testing.assert_allclose(ms, mu * 2.0)