def test_leitura_campo_alfa(self):
        self.assertEqual(self.header_arquivo.cedente_nome,
                         'TRACY TECNOLOGIA LTDA ME')
def decode(value):
    if isinstance(value, bytes):
        value = value.decode(errors="surrogateescape")

    for char in ("\\", "\n", "\t"):
        value = value.replace(
            char.encode(encoding="unicode-escape").decode(), char
        )

    return value