Only use % formatting when testing % itself, because only str.format is guaranteed to be available on any port.