From a5731aa33cd94e2441215eae55d1db1516b2474d 2018-10-12 15:42:18 From: Shao Yang Date: 2018-10-12 15:42:18 Subject: [PATCH] wrong quotes --- diff --git a/IPython/core/tests/test_magic.py b/IPython/core/tests/test_magic.py index 74d2604..f975076 100644 --- a/IPython/core/tests/test_magic.py +++ b/IPython/core/tests/test_magic.py @@ -804,7 +804,7 @@ def test_file_spaces(): ip = get_ipython() with TemporaryWorkingDirectory() as td: fname = "file name" - ip.run_cell_magic("file", "'%s'"%fname, u'\n'.join([ + ip.run_cell_magic("file", '"%s"'%fname, u'\n'.join([ 'line1', 'line2', ]))