From ec8f37dcd6dc7c1de8693e65efe0499706262e9e Mon Sep 17 00:00:00 2001 From: ShaharNaveh <50263213+ShaharNaveh@users.noreply.github.com> Date: Sun, 31 Aug 2025 11:59:46 +0300 Subject: [PATCH] Update `test_pprint.py` from 3.13.7 --- Lib/test/test_pprint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_pprint.py b/Lib/test/test_pprint.py index 4e6fed1ab..ace75561f 100644 --- a/Lib/test/test_pprint.py +++ b/Lib/test/test_pprint.py @@ -374,7 +374,7 @@ class QueryTestCase(unittest.TestCase): return super().__new__(Temperature, celsius_degrees) def __repr__(self): kelvin_degrees = self + 273.15 - return f"{kelvin_degrees}°K" + return f"{kelvin_degrees:.2f}°K" self.assertEqual(pprint.pformat(Temperature(1000)), '1273.15°K') def test_sorted_dict(self):