def METHOD_NAME(self):
    try:
        ValidationTestModel(**{"num": "not an int", "string": "a string"})
    except Exception as exc:
        pte = ParameterTypeError.from_validation_error(exc)
        pickled = cloudpickle.dumps(pte)
        unpickled = cloudpickle.loads(pickled)
        assert str(pte) == str(unpickled)
        assert pte.args == unpickled.args