def METHOD_NAME(self):
    node_list = EmptyNodeList()
    # Reading
    self.assertEqual(node_list.length, 0)
    # Writing
    with self.assertRaises(xml.dom.NoModificationAllowedErr):
        node_list.length = 111