def test_pythontask_property_override(): task = PythonTask() assert isinstance(task.gather, types.BuiltinMethodType) task.gather = 123 assert task.gather == 123 del task.gather assert isinstance(task.gather, types.BuiltinMethodType)