bpo-42506: Fix unexpected output in test_format (GH-23564)

1 file changed