code: def test_old_parameter_name():
      example = "&amp;\n<html>\n&amp;"
      with pytest.deprecated_call():
          assert fix_text(example, fix_entities=True) == "&\n<html>\n&"
      with pytest.deprecated_call():
          assert (
              fix_text(example, fix_entities=False)
              == "&amp;\n<html>\n&amp;"
          )
  
imports: from ftfy import fix_text, fix_text_segment
  from ftfy.fixes import unescape_html
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_old_parameter_name() without return types