From 3babfa1e61474021a11f5587cc746261804ec6e9 Mon Sep 17 00:00:00 2001 From: syncrain Date: Wed, 10 Jun 2026 20:48:57 +0530 Subject: [PATCH 1/6] Fix recursion traceback test to cover all styles --- testing/code/test_excinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/code/test_excinfo.py b/testing/code/test_excinfo.py index d14f0c093ab..883a7c5f9b0 100644 --- a/testing/code/test_excinfo.py +++ b/testing/code/test_excinfo.py @@ -1131,7 +1131,7 @@ def entry(): mod.entry() for style in ("short", "long", "no"): - p = ExceptionInfoFormatter(style="short") + p = ExceptionInfoFormatter(style=style) reprtb = p.repr_traceback(excinfo) assert reprtb.extraline == "!!! Recursion detected (same locals & position)" assert str(reprtb) From b6a56248682c622decf547f5785eeb73fefc6b13 Mon Sep 17 00:00:00 2001 From: syncrain Date: Wed, 10 Jun 2026 21:45:08 +0530 Subject: [PATCH 2/6] Add changelog entry --- changelog/14582.testing.rst | Bin 0 -> 168 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 changelog/14582.testing.rst diff --git a/changelog/14582.testing.rst b/changelog/14582.testing.rst new file mode 100644 index 0000000000000000000000000000000000000000..9cd7e97a1ef4600a52554c0fc9459c993dd4d452 GIT binary patch literal 168 zcmZXN*$IF^3`F0zU=LPcAC}<}P`uXzZC;&S@k>GuCX<)@%IKMJjO-W{2`jaxM4C~u zsV_9z4`JuXr5Z)(ZO}}PHB6(baVVW!jdV}S=@c(<7V-6e-~L2TJ9XiGDKQZbr;{Mg literal 0 HcmV?d00001 From a2498474af7222547cf3da825a1b166da72655eb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 10 Jun 2026 16:15:35 +0000 Subject: [PATCH 3/6] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- changelog/14582.testing.rst | Bin 168 -> 169 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/changelog/14582.testing.rst b/changelog/14582.testing.rst index 9cd7e97a1ef4600a52554c0fc9459c993dd4d452..1b80b9d600276c3a3994a8c4cf4b24733cb4696b 100644 GIT binary patch delta 8 PcmZ3%xRP Date: Wed, 10 Jun 2026 21:56:42 +0530 Subject: [PATCH 4/6] Add changelog entry --- changelog/{14582.testing.rst => 14582.misc.rst} | Bin 1 file changed, 0 insertions(+), 0 deletions(-) rename changelog/{14582.testing.rst => 14582.misc.rst} (100%) diff --git a/changelog/14582.testing.rst b/changelog/14582.misc.rst similarity index 100% rename from changelog/14582.testing.rst rename to changelog/14582.misc.rst From 6c980b3843ba686f073e1fb95fc9d880ca3bf9a5 Mon Sep 17 00:00:00 2001 From: syncrain Date: Wed, 10 Jun 2026 22:01:51 +0530 Subject: [PATCH 5/6] Fix changelog encoding --- changelog/14582.misc.rst | Bin 169 -> 81 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/changelog/14582.misc.rst b/changelog/14582.misc.rst index 1b80b9d600276c3a3994a8c4cf4b24733cb4696b..554464adc780837680c7556de1efdbf648250943 100644 GIT binary patch literal 81 zcmX}j!3}^g31l7txOS0p2m W6};(Mf)KL~&({05{V?(|#_$5~l^(hP literal 169 zcmZXN*$IF^3`F0zU=LPcAC}<}P`uXzZC;&S@k>GuCX<)@%IKMJjO-W{2`jaxM4C~u zsV_9z4`JuXr5Z)(ZO}}PHB6(baVVW!jdV}S=@c(<7V-6e-~L2TJ9XiGDKQbz1ITM2 A*Z=?k From 04348dea156f93d65960e9103cf36a20b3d8e865 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 10 Jun 2026 16:32:16 +0000 Subject: [PATCH 6/6] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- changelog/14582.misc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog/14582.misc.rst b/changelog/14582.misc.rst index 554464adc78..e824c3e6d09 100644 --- a/changelog/14582.misc.rst +++ b/changelog/14582.misc.rst @@ -1 +1 @@ -Improved the recursion traceback test to exercise all requested traceback styles. \ No newline at end of file +Improved the recursion traceback test to exercise all requested traceback styles.