def METHOD_NAME():
    class Foo:
        def __html__(self):
            return "<em>awesome</em>"
        def __str__(self):
            return "awesome"
    assert Markup(Foo()) == "<em>awesome</em>"
    result = Markup("<strong>%s</strong>") % Foo()
    assert result == "<strong><em>awesome</em></strong>"