human
I wrote the below code

    def check(literal, is_literal=True):
        token_list = _get_token_list(literal)
        (typ, result_literal, _, _) = token_list[0]
        if is_literal:
            assert (typ == STRING)
            assert (result_literal == literal)
        else:
            assert (typ == NAME)
    check('u""')
    check('ur""', is_literal=(not is_py3))
    check('Ur""', is_literal=(not is_py3))
    check('UR""', is_literal=(not is_py3))
    check('bR""')
    check('Rb""')
    check('fr""', is_literal=(py_version >= 36))
    check('rF""', is_literal=(py_version >= 36))
    check('f""', is_literal=(py_version >= 36))
    check('F""', is_literal=(py_version >= 36))

What's a good function header?

Here's a good function header?
assistant
#Here's a good function header.

def test_ur_literals():