Skip to content

Commit

Permalink
fix: error match
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros11 committed Aug 30, 2024
1 parent 1fb0190 commit cef71e4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_sweeper.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ def test_sweeper_errors():
parameter=Parameter.frequency,
channels=[channel],
)
with pytest.raises(
ValueError, match="Amplitude sweeper cannot have values larger than 1."
):
with pytest.raises(ValueError, match="Amplitude"):
Sweeper(
parameter=Parameter.amplitude,
range=(0, 2, 0.2),
Expand Down

0 comments on commit cef71e4

Please sign in to comment.