def METHOD_NAME(qtbot):
    """Set up Editor with close quotes activated."""
    editor = CodeEditor(parent=None)
    editor.setup_editor(
        color_scheme='spyder/dark',
        font=QFont("Courier New", 10),
        language='Python',
        close_quotes=True
    )
    editor.resize(480, 360)
    editor.show()
    qtbot.addWidget(editor)
    return editor