Ejemplo n.º 1
0
    def test_match_any_char(self):
        MAT = SourceString('import partpy')
        alphas = 'abcdefghijklmnopqrstuvwxyz'

        assert MAT.match_any_char(alphas) == 'i'
        assert MAT.match_any_char(alphas.replace('i', '')) == ''