code: def parses(text):
      cleaned = text.replace(
          "&rarr;", ""
      )  # xml doesn't like righarrow character
      assert xml.etree.ElementTree.fromstring(cleaned) is not None
  
file_path: dask/dask/array/tests/test_svg.py
imports: from __future__ import annotations
  import xml.etree.ElementTree
  import pytest
  import dask.array
  from dask.array.svg import draw_sizes
label_desc: Use image node_id 1 for calling a global function with example usage: parses(text) without return types