Show More
@@ -73,7 +73,7 b' def test_history():' | |||||
73 | gothist = ip.history_manager.get_range(-1, 1, 4) |
|
73 | gothist = ip.history_manager.get_range(-1, 1, 4) | |
74 | nt.assert_equal(list(gothist), zip([1,1,1],[1,2,3], hist)) |
|
74 | nt.assert_equal(list(gothist), zip([1,1,1],[1,2,3], hist)) | |
75 |
|
75 | |||
76 |
newhist = [(2, i |
|
76 | newhist = [(2, i, c) for (i, c) in enumerate(newcmds, 1)] | |
77 |
|
77 | |||
78 | # Check get_hist_tail |
|
78 | # Check get_hist_tail | |
79 | gothist = ip.history_manager.get_tail(5, output=True, |
|
79 | gothist = ip.history_manager.get_tail(5, output=True, |
General Comments 0
You need to be logged in to leave comments.
Login now