code: def test_html_interop():
      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>"
  
imports: import pytest
  from markupsafe import Markup
label_desc: Use image node_id 4 for calling a global function with example usage: test_html_interop() and returns: str, str