From c92f639c4e55004a532fa6937984f1de343fe4ce 2012-05-26 02:35:19 From: Fernando Perez Date: 2012-05-26 02:35:19 Subject: [PATCH] Fix failing test that did direct magic access. --- diff --git a/IPython/core/tests/test_history.py b/IPython/core/tests/test_history.py index b55a8aa..9e5e758 100644 --- a/IPython/core/tests/test_history.py +++ b/IPython/core/tests/test_history.py @@ -92,7 +92,7 @@ def test_history(): # Cross testing: check that magic %save can get previous session. testfilename = os.path.realpath(os.path.join(tmpdir, "test.py")) - ip.magic_save(testfilename + " ~1/1-3") + ip.magic("save " + testfilename + " ~1/1-3") with py3compat.open(testfilename) as testfile: nt.assert_equal(testfile.read(), u"# coding: utf-8\n" + u"\n".join(hist))