hanschen / vim-ipython-cell

Seamlessly run Python code in IPython from Vim
GNU General Public License v3.0
335 stars 18 forks source link

Send quit command to ipython #9

Closed jorgsk closed 4 years ago

jorgsk commented 4 years ago

Used for quitting the debugger. Resolves #8.

All tests are passing locally:

(base) [@6700 ~/source/vim-ipython-cell/test] (master) $ python -m unittest test_ipython_cell.py -vvv warning: importing ipython_cell outside vim, some functions will not work test_get_current_cell_boundaries_cursor_end_of_cell (test_ipython_cell.TestIPythonCell) ... ok test_get_current_cell_boundaries_cursor_end_of_file (test_ipython_cell.TestIPythonCell) ... ok test_get_current_cell_boundaries_cursor_first_cell (test_ipython_cell.TestIPythonCell) ... ok test_get_current_cell_boundaries_cursor_last_cell (test_ipython_cell.TestIPythonCell) ... ok test_get_current_cell_boundaries_cursor_middle_of_cell (test_ipython_cell.TestIPythonCell) ... ok test_get_current_cell_boundaries_cursor_start_of_cell (test_ipython_cell.TestIPythonCell) ... ok test_get_current_cell_boundaries_cursor_start_of_file (test_ipython_cell.TestIPythonCell) ... ok test_get_next_cell_cursor_end_of_cell (test_ipython_cell.TestIPythonCell) ... ok test_get_next_cell_cursor_middle_of_cell (test_ipython_cell.TestIPythonCell) ... ok test_get_next_cell_cursor_start_of_cell (test_ipython_cell.TestIPythonCell) ... ok test_get_prev_cell_cursor_end_of_cell (test_ipython_cell.TestIPythonCell) ... ok test_get_prev_cell_cursor_middle_of_cell (test_ipython_cell.TestIPythonCell) ... ok test_get_prev_cell_cursor_start_of_cell (test_ipython_cell.TestIPythonCell) ... ok test_get_rows_with_marks (test_ipython_cell.TestIPythonCell) ... ok test_get_rows_with_marks_multiple_rows (test_ipython_cell.TestIPythonCell) ... ok test_get_rows_with_tag (test_ipython_cell.TestIPythonCell) ... ok test_get_rows_with_tag_multiple_rows (test_ipython_cell.TestIPythonCell) ... ok


Ran 17 tests in 0.001s

jorgsk commented 4 years ago

This can be fixed simply using the SlimeSend1 command as mentioned in issue #8.