code: def test_dict_interpol():
      result = Markup("<em>%(foo)s</em>") % {"foo": "<foo>"}
      expect = Markup("<em>&lt;foo&gt;</em>")
      assert result == expect
  
      result = Markup("<em>%(foo)s:%(bar)s</em>") % {
          "foo": "<foo>",
          "bar": "<bar>",
      }
      expect = Markup("<em>&lt;foo&gt;:&lt;bar&gt;</em>")
      assert result == expect
  
imports: import pytest
  from markupsafe import Markup
label_desc: Use image node_id 7 for calling a global function with example usage: test_dict_interpol() without return types