code: def test_formatting_with_objects():
      class Stringable:
          def __str__(self):
              return "строка"
  
      assert Markup("{s}").format(s=Stringable()) == Markup("строка")
  
imports: import pytest
  from markupsafe import Markup
label_desc: Use image node_id 15 for calling a global function with example usage: test_formatting_with_objects() and returns: str