def METHOD_NAME(self, db):
    with pytest.raises(
        TypeError,
        match="Unexpected type for subtype 12: must be " "string or list like.",
    ):
        db.get_unit_operation_parameters("nanofiltration", subtype=12)