

def test_enabled(editor):
    mode = get_mode(editor)
    assert mode.enabled
    mode.enabled = False
    editor.enabled = True

dataset/ETHPy150Open pyQode/pyqode.core/test/test_modes/test_autoindent.py test_enabled/VarMisuse@28/31 `mode`->`editor`