%edit [cell id]
()
| 1787 | |
| 1788 | |
| 1789 | def test_edit_cell(): |
| 1790 | """%edit [cell id]""" |
| 1791 | ip = get_ipython() |
| 1792 | |
| 1793 | ip.run_cell("def foo(): return 1", store_history=True) |
| 1794 | |
| 1795 | # test |
| 1796 | _run_edit_test("1", exp_contents=ip.user_ns["In"][1], exp_is_temp=True) |
| 1797 | |
| 1798 | |
| 1799 | def test_edit_fname(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…