code: def test_unescape():
      assert Markup("&lt;test&gt;").unescape() == "<test>"
  
      result = Markup(
          "jack & tavi are cooler than mike &amp; russ"
      ).unescape()
      expect = "jack & tavi are cooler than mike & russ"
      assert result == expect
  
      original = "&foo&#x3b;"
      once = Markup(original).unescape()
      twice = Markup(once).unescape()
      expect = "&foo;"
      assert once == expect
      assert twice == expect
  
imports: import pytest
  from markupsafe import escape
  from markupsafe import escape_silent
  from markupsafe import Markup
  from markupsafe._compat import PY2
  from markupsafe._compat import text_type
label_desc: Use image node_id 8 for calling a global function with example usage: test_unescape() without return types