From b5a75af027d4a7298a705cfb1a774144675d4c33 Mon Sep 17 00:00:00 2001 From: Antoine Cornillot <61453516+a-corni@users.noreply.github.com> Date: Fri, 15 Sep 2023 10:57:10 +0200 Subject: [PATCH] Fix switch device err message (#581) * Adding forgotten strict in test --- tests/test_sequence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_sequence.py b/tests/test_sequence.py index 8846bb52..077c9cf3 100644 --- a/tests/test_sequence.py +++ b/tests/test_sequence.py @@ -359,7 +359,7 @@ def test_switch_device_down(reg, devices, pulses, mappable_reg, parametrized): " right type, basis and addressing.", ): # Can't find a match for the 2nd raman_local - seq.switch_device(Chadoq2) + seq.switch_device(Chadoq2, strict=True) with pytest.raises( ValueError,