def METHOD_NAME(blueprint):
    other = blueprints.Blueprint()
    @blueprint.task(name="ns:foo")
    def my_task():
        return "foo"
    @other.task(name="foo")
    def my_other_task():
        return "foo"
    with pytest.raises(exceptions.TaskAlreadyRegistered):
        blueprint.add_tasks_from(other, namespace="ns")
    assert blueprint.tasks == {"ns:foo": my_task}
    assert my_other_task.name == "foo"