diff --git a/api/tests/opentrons/hardware_control/test_ot3_api.py b/api/tests/opentrons/hardware_control/test_ot3_api.py index 3ee15bbeaa0..b5d2b023fcb 100644 --- a/api/tests/opentrons/hardware_control/test_ot3_api.py +++ b/api/tests/opentrons/hardware_control/test_ot3_api.py @@ -936,7 +936,9 @@ async def test_gripper_action_works_with_gripper( } await ot3_hardware.cache_gripper(instr_data) - with pytest.raises(CommandPreconditionViolated, match="Cannot grip gripper jaw before homing"): + with pytest.raises( + CommandPreconditionViolated, match="Cannot grip gripper jaw before homing" + ): await ot3_hardware.grip(5.0) await ot3_hardware.home_gripper_jaw() mock_ungrip.assert_called_once()