def METHOD_NAME(self):
    for inp, exp in [('\\r', '\r'),
                     ('\\\\r', '\\r'),
                     ('\\\\\\r', '\\\r'),
                     ('\\r ', '\r '),
                     ('\\\\r ', '\\r '),
                     ('\\\\\\r ', '\\\r '),
                     ('\\rx', '\rx'),
                     ('\\\\rx', '\\rx'),
                     ('\\\\\\rx', '\\\rx'),
                     ('\\r x', '\r x'),
                     ('\\\\r x', '\\r x'),
                     ('\\\\\\r x', '\\\r x')]:
        assert_unescape(inp, exp)