Skip to content

Commit 6a4ed02

Browse files
committed
Fix test
1 parent 4def26c commit 6a4ed02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit_tests/hyperion/experiment_plans/test_pin_tip_centring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def test_re_raise_failed_status(RE: RunEngine, smargon: Smargon):
296296
RE(move_smargon_warn_on_out_of_range(smargon, (0, 0, 0)))
297297

298298
assert fs.type is FailedStatus
299-
assert fs.value.args[0] is RuntimeError("RuntimeError")
299+
assert isinstance(fs.value.args[0], RuntimeError("RuntimeError"))
300300

301301

302302
@patch(

0 commit comments

Comments
 (0)