Skip to content

Commit 01d6f02

Browse files
committed
fix: fix tests by changing expected type of current_pos in _check_position from tuple to list
1 parent fb5f26c commit 01d6f02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dodal/devices/scintillator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(
5656
super().__init__(name)
5757

5858
def _check_position(
59-
self, current_pos: tuple[float, float], pos_to_check: tuple[float, float]
59+
self, current_pos: list[float, float], pos_to_check: tuple[float, float]
6060
):
6161
return all(
6262
isclose(axis_pos, axis_in_beam, abs_tol=axis_tolerance)

0 commit comments

Comments
 (0)