From 929bc48774de9ed0d4ee5ce33beafd8d0104561f Mon Sep 17 00:00:00 2001 From: grayson-helmholz Date: Tue, 5 Nov 2024 15:11:13 +0100 Subject: [PATCH] fixed hitting assert twice --- tests/unit/test_solving.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/test_solving.py b/tests/unit/test_solving.py index 3c463447..56b294eb 100644 --- a/tests/unit/test_solving.py +++ b/tests/unit/test_solving.py @@ -64,7 +64,8 @@ def test_solve_with_filtered_quantum_number_problem_set( if with_spin_projection: assert len(result.solutions) == 319 - assert len(result.solutions) == 127 + else: + assert len(result.solutions) == 127 @pytest.fixture(scope="session")