diff --git a/IPython/core/tests/test_shellapp.py b/IPython/core/tests/test_shellapp.py index 32a6aee..9f4f87b 100644 --- a/IPython/core/tests/test_shellapp.py +++ b/IPython/core/tests/test_shellapp.py @@ -48,6 +48,9 @@ class TestFileToRun(tt.TempFileMixin, unittest.TestCase): src = "True\n" self.mktmp(src) - out, err = tt.ipexec(self.fname, options=['-i'], - commands=['"__file__" in globals()', 'print(123)', 'exit()']) + out, err = tt.ipexec( + self.fname, + options=["-i"], + commands=['"__file__" in globals()', "print(123)", "exit()"], + ) assert "False" in out, f"Subprocess stderr:\n{err}\n-----"