%edit [cell id]
()
| 1153 | |
| 1154 | |
| 1155 | def test_edit_cell(): |
| 1156 | """%edit [cell id]""" |
| 1157 | ip = get_ipython() |
| 1158 | |
| 1159 | ip.run_cell(u"def foo(): return 1", store_history=True) |
| 1160 | |
| 1161 | # test |
| 1162 | _run_edit_test("1", exp_contents=ip.user_ns['In'][1], exp_is_temp=True) |
| 1163 | |
| 1164 | def test_bookmark(): |
| 1165 | ip = get_ipython() |
nothing calls this directly
no test coverage detected