code: def test_writing_graph_with_one_element_property_list(self):
      g = nx.Graph()
      g.add_node("n1", properties=["element"])
      with byte_file() as f:
          nx.write_gml(g, f)
      result = f.read().decode()
  
      assert result == dedent(
          """\
              graph [
                node [
                  id 0
                  label "n1"
                  properties "_networkx_list_start"
                  properties "element"
                ]
              ]
          """
      )
  
imports: import codecs
  import io
  import math
  from ast import literal_eval
  from contextlib import contextmanager
  from textwrap import dedent
  import pytest
  import networkx
  from networkx.readwrite.gml import literal_destringizer, literal_stringizer
label_desc: Use image node_id 2 for calling the TestPropertyLists obj's underlying member method code with example usage: obj.test_writing_graph_with_one_element_property_list() without return types