def METHOD_NAME(self):
    sys.stdout = six.StringIO()
    s = debug.Spew()
    g = globals().copy()
    del g['__file__']
    f = eval("sys._getframe()", g)
    lineno = f.f_lineno
    s(f, "line", None)
    output = sys.stdout.getvalue()
    assert "[unknown]:%i" % lineno in output, "Didn't find [unknown]:%i in %s" % (lineno, output)
    assert "VM instruction #" in output, output