code: def test_default_parser_no_lxml(geom_df):
      with pytest.raises(
          ImportError,
          match=(
              "lxml not found, please install or use the etree parser."
          ),
      ):
          geom_df.to_xml()
  
imports: from __future__ import annotations
  from io import BytesIO, StringIO
  import os
  import numpy
  import pytest
  import pandas.util._test_decorators
  from pandas import NA, DataFrame, Index
  import pandas._testing
  from pandas.io.common import get_handle
  from pandas.io.xml import read_xml
label_desc: Use image node_id 41 for calling a global function with example usage: test_default_parser_no_lxml(geom_df) without return types