diff --git a/IPython/core/tests/test_history.py b/IPython/core/tests/test_history.py index 8c3ac07..63b6178 100644 --- a/IPython/core/tests/test_history.py +++ b/IPython/core/tests/test_history.py @@ -114,6 +114,12 @@ def test_history(): newhist[2], newhist[3]]) + gothist = ip.history_manager.search("*=*", unique=True, n=3) + nt.assert_equal(list(gothist), + [(1, 3, hist[2]), + newhist[2], + newhist[3]]) + gothist = ip.history_manager.search("b*", output=True) nt.assert_equal(list(gothist), [(1,3,(hist[2],"spam"))] )