From 30e10db258e66e61b70d6d91c7e478b88db386fc 2021-11-15 18:04:53 From: Matthias Bussonnier Date: 2021-11-15 18:04:53 Subject: [PATCH] manual reformat --- diff --git a/IPython/core/tests/test_iplib.py b/IPython/core/tests/test_iplib.py index 5cbc772..9bdfd51 100644 --- a/IPython/core/tests/test_iplib.py +++ b/IPython/core/tests/test_iplib.py @@ -40,48 +40,48 @@ def test_reset(): def doctest_tb_plain(): """ -In [18]: xmode plain -Exception reporting mode: Plain - - In [19]: run simpleerr.py - Traceback (most recent call last): - ...line ..., in - bar(mode) - ...line ..., in bar - div0() - ...line ..., in div0 - x/y - ZeroDivisionError: ... + In [18]: xmode plain + Exception reporting mode: Plain + + In [19]: run simpleerr.py + Traceback (most recent call last): + ...line ..., in + bar(mode) + ...line ..., in bar + div0() + ...line ..., in div0 + x/y + ZeroDivisionError: ... """ def doctest_tb_context(): """ -In [3]: xmode context -Exception reporting mode: Context - - In [4]: run simpleerr.py - --------------------------------------------------------------------------- - ZeroDivisionError Traceback (most recent call last) - - ... in - 30 except IndexError: - 31 mode = 'div' - ---> 33 bar(mode) - - ... in bar(mode) - 15 "bar" - 16 if mode=='div': - ---> 17 div0() - 18 elif mode=='exit': - 19 try: - - ... in div0() - 6 x = 1 - 7 y = 0 - ----> 8 x/y - - ZeroDivisionError: ...""" + In [3]: xmode context + Exception reporting mode: Context + + In [4]: run simpleerr.py + --------------------------------------------------------------------------- + ZeroDivisionError Traceback (most recent call last) + + ... in + 30 except IndexError: + 31 mode = 'div' + ---> 33 bar(mode) + + ... in bar(mode) + 15 "bar" + 16 if mode=='div': + ---> 17 div0() + 18 elif mode=='exit': + 19 try: + + ... in div0() + 6 x = 1 + 7 y = 0 + ----> 8 x/y + + ZeroDivisionError: ...""" def doctest_tb_verbose():