def METHOD_NAME():
    file = tests.modules.get_test_resources_directory("editobjectsmanually/v4.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.loadtxt(six.moves.StringIO(data))
    module = pipeline.modules()[0]
    assert module.object_name.value == "IdentifyPrimaryObjects"
    assert module.filtered_objects.value == "EditedObjects"
    assert module.renumber_choice.value == "Renumber"
    assert module.wants_image_display.value
    assert module.image_name.value == "DNA"
    assert not module.allow_overlap.value