code: def test_list_sort(self):
      # Test PyList_Sort()
      sort = _testcapi.list_sort
      lst = [4, 6, 7, 3, 1, 5, 9, 2, 0, 8]
      sort(lst)
      self.assertEqual(lst, list(range(10)))
  
      lst2 = ListSubclass([4, 6, 7, 3, 1, 5, 9, 2, 0, 8])
      sort(lst2)
      self.assertEqual(lst2, list(range(10)))
  
      self.assertRaises(SystemError, sort, ())
      self.assertRaises(SystemError, sort, object())
      self.assertRaises(SystemError, sort, NULL)
  
imports: import gc
  import weakref
  import unittest
  from test.support import import_helper
  from collections import UserList
label_desc: Use image node_id 14 for calling the CAPITest obj's underlying member method code with example usage: obj.test_list_sort() without return types