Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/callbacks/fitting/test_fitting_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def test_polynomial_model_order(self, deg: int):
x = np.zeros(3)

with pytest.raises(
ValueError, match="The polynomial degree should be at least 0 and smaller than 8."
ValueError, match=r"The polynomial degree should be at least 0 and smaller than 8."
):
Polynomial.model(deg).func(x)

Expand Down Expand Up @@ -304,7 +304,7 @@ def test_invalid_polynomial_guess(self, deg: int):

# -1 and 8 are both invalid polynomial degrees
with pytest.raises(
ValueError, match="The polynomial degree should be at least 0 and smaller than 8."
ValueError, match=r"The polynomial degree should be at least 0 and smaller than 8."
):
Polynomial.guess(deg)(x, y)

Expand Down
2 changes: 1 addition & 1 deletion tests/devices/test_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_block_naming(rw_rbv_block):
def test_mot_block_naming(mot_block):
assert mot_block.name == "mot_block"
assert mot_block.user_readback.name == "mot_block"
assert mot_block.user_setpoint.name == ("mot_block-user_setpoint" "")
assert mot_block.user_setpoint.name == ("mot_block-user_setpoint")


def test_block_signal_monitors_correct_pv(rw_rbv_block):
Expand Down
Loading