From 20dc6821abcdfe2bba686ca9a209a1af1300dc38 Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Tue, 17 Jan 2023 16:18:16 +0200 Subject: [PATCH] EIP4844: Unused i in for loop Co-authored-by: Hsiao-Wei Wang --- .../polynomial_commitments/test_polynomial_commitments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/pyspec/eth2spec/test/eip4844/unittests/polynomial_commitments/test_polynomial_commitments.py b/tests/core/pyspec/eth2spec/test/eip4844/unittests/polynomial_commitments/test_polynomial_commitments.py index 6b5e0d38d..24b45475e 100644 --- a/tests/core/pyspec/eth2spec/test/eip4844/unittests/polynomial_commitments/test_polynomial_commitments.py +++ b/tests/core/pyspec/eth2spec/test/eip4844/unittests/polynomial_commitments/test_polynomial_commitments.py @@ -41,7 +41,7 @@ def test_barycentric_outside_domain(spec, state): assert len(poly_coeff) == len(poly_eval) == len(roots_of_unity_brp) n_samples = 12 - for i in range(n_samples): + for _ in range(n_samples): # Get a random evaluation point and make sure it's not a root of unity z = rng.randint(0, spec.BLS_MODULUS - 1) while z in roots_of_unity_brp: