diff --git a/tests/unit/conservation_rules/test_c_parity.py b/tests/unit/conservation_rules/test_c_parity.py index 3fec0df7..df261a77 100644 --- a/tests/unit/conservation_rules/test_c_parity.py +++ b/tests/unit/conservation_rules/test_c_parity.py @@ -84,9 +84,7 @@ def test_c_parity_multiparticle_boson(rule_input, expected): ), (s_magnitude + l_magnitude) % 2 == abs(c_parity - 1) / 2, ) - for c_parity, s_magnitude, l_magnitude in product( - [-1, 1], range(5), range(5) - ) + for c_parity, s_magnitude, l_magnitude in product([-1, 1], range(5), range(5)) ], ) def test_c_parity_multiparticle_fermion(rule_input, expected): diff --git a/tests/unit/conservation_rules/test_parity_conservation.py b/tests/unit/conservation_rules/test_parity_conservation.py index 3031accd..1463c9b8 100644 --- a/tests/unit/conservation_rules/test_parity_conservation.py +++ b/tests/unit/conservation_rules/test_parity_conservation.py @@ -24,9 +24,7 @@ NodeQuantumNumbers.l_magnitude(l_magnitude), parity_in == parity_out1 * (-1) ** (l_magnitude), ) - for parity_in, parity_out1, l_magnitude in product( - [-1, 1], [-1, 1], range(5) - ) + for parity_in, parity_out1, l_magnitude in product([-1, 1], [-1, 1], range(5)) ], ) def test_parity_conservation(in_parities, out_parities, l_magnitude, expected):