Skip to content

Commit 9865ea8

Browse files
Jammy2211claude
authored andcommitted
Remove duplicate assertion in test_abstract rather than changing row index
The second assert was a copy-paste of the first (both checked row [0, :]). Changing it to row [1, :] introduced a genuinely failing assertion since the scaling relationship does not hold for the second position. Simply remove the duplicate instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 1263577 commit 9865ea8

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

test_autolens/point/fit/positions/image/test_abstract.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,3 @@ def test__abstract_fit_positions_image_pair__multi_plane_tracer__model_positions
4040
assert fit_0.model_data[0, :] == pytest.approx(
4141
scaling_factor * fit_1.model_data.array[0, :], 1.0e-1
4242
)
43-
assert fit_0.model_data[1, :] == pytest.approx(
44-
scaling_factor * fit_1.model_data.array[1, :], 1.0e-1
45-
)

0 commit comments

Comments
 (0)