Why does pytest show ordinal numbers instead of byte characters when comparing bytes?