From 44a6127199f95c09792dfe097270ec124ae0bf0e 2022-10-16 13:35:59 From: Matthias Bussonnier Date: 2022-10-16 13:35:59 Subject: [PATCH] revert fialing on windows --- diff --git a/IPython/core/tests/test_run.py b/IPython/core/tests/test_run.py index e27ba2c..9687786 100644 --- a/IPython/core/tests/test_run.py +++ b/IPython/core/tests/test_run.py @@ -339,7 +339,7 @@ tclass.py: deleting object: C-third """Check that files in odd encodings are accepted.""" mydir = os.path.dirname(__file__) na = os.path.join(mydir, "nonascii.py") - _ip.run_line_magic("run", "%r" % na) + _ip.magic('run "%s"' % na) assert _ip.user_ns["u"] == "Ўт№Ф" def test_run_py_file_attribute(self):