code: def test_list_append(self):
      # Test PyList_Append()
      append = _testcapi.list_append
      lst = [1, 2, 3]
      append(lst, 10)
      self.assertEqual(lst, [1, 2, 3, 10])
      append(lst, [4, 5])
      self.assertEqual(lst, [1, 2, 3, 10, [4, 5]])
      self.assertRaises(SystemError, append, lst, NULL)
      self.assertRaises(SystemError, append, (), 0)
      self.assertRaises(SystemError, append, 42, 0)
  
imports: import gc
  import weakref
  import unittest
  from test.support import import_helper
  from collections import UserList
label_desc: Use image node_id 11 for calling the CAPITest obj's underlying member method code with example usage: obj.test_list_append() without return types