bpo-46852: Restore test_getformat() test (GH-31601)

1 file changed