def test_leitura_campo_num_int(self):
        self.assertEqual(self.header_arquivo.controle_banco, 341)
def badmatch(match, badfn):
    """Make a copy of the given matcher, replacing its bad method with the given
    one.
    """
    m = copy.copy(match)
    m.bad = badfn
    return m