def METHOD_NAME(scannedval: str) -> None:
    """Various regex failures for gripper."""
    with pytest.raises(InvalidInstrumentData, match="The serial number.*"):
        grip_serials.gripper_info_from_serial_string(scannedval)