def test_symmetric_difference_by_fails(self, array1, array2, func, error): with pytest.raises(error): ListOperations.symmetric_difference_by(array1, array2, func)
def test_symmetric_difference_by(self, array1, array2, func, result): assert ListOperations.symmetric_difference_by(array1, array2, func) == result