def setErrorMessage(self, errorMessage):
        self._errorMessage = errorMessage
Test to ensure assigning a function works as expected
dataset/ETHPy150Open rwl/muntjac/muntjac/data/validators/abstract_validator.py/AbstractValidator.setErrorMessage--crossover with--dataset/ETHPy150Open timothycrosley/jiphy/test_jiphy.py/test_magic_function