From 2e34c770413ab283033f2edd757c45477ca6d1b3 2024-08-26 16:33:13 From: Thomas Kluyver Date: 2024-08-26 16:33:13 Subject: [PATCH] Autoformat with darker --- diff --git a/IPython/core/tests/test_debugger.py b/IPython/core/tests/test_debugger.py index 9c507cf..6113ff9 100644 --- a/IPython/core/tests/test_debugger.py +++ b/IPython/core/tests/test_debugger.py @@ -139,8 +139,8 @@ def test_ipdb_magics(): ipdb> continue - Restore previous trace function, e.g. for coverage.py - + Restore previous trace function, e.g. for coverage.py + In [6]: sys.settrace(old_trace) ''' @@ -506,13 +506,17 @@ def test_decorator_skip_with_breakpoint(): child.expect_exact("--> 47 bar(3, 4)") extra_step = [] - for input_, expected in [ - (f"b {name}.py:3", ""), - ] + extra_step + [ - ("step", "1---> 3 pass # should not stop here except"), - ("step", "---> 38 @pdb_skipped_decorator"), - ("continue", ""), - ]: + for input_, expected in ( + [ + (f"b {name}.py:3", ""), + ] + + extra_step + + [ + ("step", "1---> 3 pass # should not stop here except"), + ("step", "---> 38 @pdb_skipped_decorator"), + ("continue", ""), + ] + ): child.expect("ipdb>") child.sendline(input_) child.expect_exact(input_)