code: def test_hyperedge_raise(self):
      s = """<?xml version="1.0" encoding="UTF-8"?>
  <graphml xmlns="http://graphml.graphdrawing.org/xmlns"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
           http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
    <key id="d0" for="node" attr.name="color" attr.type="string">
      <default>yellow</default>
    </key>
    <key id="d1" for="edge" attr.name="weight" attr.type="double"/>
    <graph id="G" edgedefault="directed">
      <node id="n0">
        <data key="d0">green</data>
      </node>
      <node id="n1"/>
      <node id="n2">
        <data key="d0">blue</data>
      </node>
      <hyperedge id="e0" source="n0" target="n2">
         <endpoint node="n0"/>
         <endpoint node="n1"/>
         <endpoint node="n2"/>
      </hyperedge>
    </graph>
  </graphml>
  """
      fh = io.BytesIO(s.encode("UTF-8"))
      pytest.raises(nx.NetworkXError, nx.read_graphml, fh)
      pytest.raises(nx.NetworkXError, nx.parse_graphml, s)
  
imports: import io
  import pytest
  import networkx
  from networkx.readwrite.graphml import GraphMLWriter
  from networkx.utils import edges_equal, nodes_equal
label_desc: Use image node_id 11 for calling the TestReadGraphML obj's underlying member method code with example usage: obj.test_hyperedge_raise() without return types