class_docstr: Tests for the EmptyNodeList class.
class_docstr_tok: ["Tests","for","the","EmptyNodeList","class","."]
code: def test_emptynodelist_length(self):
      node_list = EmptyNodeList()
      # Reading
      self.assertEqual(node_list.length, 0)
      # Writing
      with self.assertRaises(xml.dom.NoModificationAllowedErr):
          node_list.length = 111
  
file_path: cpython/Lib/test/test_xml_dom_minicompat.py
imports: import copy
  import pickle
  import unittest
  import xml.dom
  from xml.dom.minicompat import *
label_desc: Use image node_id 2 for calling the EmptyNodeListTestCase obj's underlying member method code with example usage: obj.test_emptynodelist_length() without return types