From 68622be935b36f0ca75729157992972dbf426603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20S=C5=82awecki?= Date: Sun, 12 Oct 2025 18:48:22 +0200 Subject: [PATCH 1/2] gh-139155: Remove "dictionaries are sorted by key" note in `pprint` docs (GH-139159) --- Doc/library/pprint.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/Doc/library/pprint.rst b/Doc/library/pprint.rst index 2985f31bacb47a5..f51892450798aeb 100644 --- a/Doc/library/pprint.rst +++ b/Doc/library/pprint.rst @@ -22,8 +22,6 @@ The formatted representation keeps objects on a single line if it can, and breaks them onto multiple lines if they don't fit within the allowed width, adjustable by the *width* parameter defaulting to 80 characters. -Dictionaries are sorted by key before the display is computed. - .. versionchanged:: 3.9 Added support for pretty-printing :class:`types.SimpleNamespace`. From 0fc5c56815b963e4b45469b2b6a5610ea2f2d181 Mon Sep 17 00:00:00 2001 From: Savannah Ostrowski Date: Sun, 12 Oct 2025 09:51:13 -0700 Subject: [PATCH 2/2] GH-139979: Add @force_not_colorized_test_class to TestOptionalHelpVersionActions (#139980) --- Lib/test/test_argparse.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_argparse.py b/Lib/test/test_argparse.py index 6a07f190285c370..e5d642cde662c22 100644 --- a/Lib/test/test_argparse.py +++ b/Lib/test/test_argparse.py @@ -5831,6 +5831,7 @@ def test_subparser_conflict(self): # Help and Version option tests # ============================= +@force_not_colorized_test_class class TestOptionalsHelpVersionActions(TestCase): """Test the help and version actions"""