~pythonxy/pythonxy-upstream/spyder

« back to all changes in this revision

Viewing changes to spyder/widgets/tests/test_editor.py

  • Committer: Carlos Cordoba
  • Date: 2017-06-15 19:56:25 UTC
  • mfrom: (3145.1.289)
  • Revision ID: git-v1:ca4496ecc6c0096b1f437137217c5d826e09b6b8
Merge from 3.x: PR #4612

Fixes #4611

Show diffs side-by-side

added added

removed removed

Lines of Context:
191
191
    # cursor at the end of the file
192
192
    assert editor.get_cursor_line_column() == (10, 0)
193
193
 
 
194
    # advance backwards to the begining of the 3rd cell
 
195
    editor_stack.advance_cell(reverse=True)
 
196
    assert editor.get_cursor_line_column() == (6, 0)
 
197
 
194
198
    # advance backwards to 2nd cell
195
199
    editor_stack.advance_cell(reverse=True)
196
200
    assert editor.get_cursor_line_column() == (3, 0)