def METHOD_NAME(recwarn_always):
    def nested1():
        nested2()
    def nested2():
        warn_deprecated("x", "1.3", issue=7, instead="y", stacklevel=3)
    filename, lineno = _here()
    nested1()
    got = recwarn_always.pop(TrioDeprecationWarning)
    assert got.filename == filename
    assert got.lineno == lineno + 1