def METHOD_NAME():
    file = tests.modules.get_test_resources_directory("editobjectsmanually/v2.pipeline")
    with open(file, "r") as fd:
        data = fd.read()
    pipeline = cellprofiler_core.pipeline.Pipeline()
    def callback(caller, event):
        assert not isinstance(event, cellprofiler_core.pipeline.event.LoadException)
    pipeline.add_listener(callback)
    pipeline.load(six.moves.StringIO(data))
    assert len(pipeline.modules()) == 1
    module = pipeline.modules()[0]
    assert isinstance(
        module, cellprofiler.modules.editobjectsmanually.EditObjectsManually
    )
    assert module.object_name == "Nuclei"
    assert module.filtered_objects == "EditedNuclei"
    assert module.renumber_choice == cellprofiler.modules.editobjectsmanually.R_RETAIN
    assert module.wants_image_display
    assert module.image_name == "DNA"
    assert not module.allow_overlap