code: def test_key_with_mutating_del(self):
      data = list(range(10))
  
      class SortKiller(object):
          def __init__(self, x):
              pass
  
          def __del__(self):
              del data[:]
              data[:] = range(20)
  
          def __lt__(self, other):
              return id(self) < id(other)
  
      self.assertRaises(ValueError, data.sort, key=SortKiller)
  
imports: from test import support
  import random
  import unittest
  from functools import cmp_to_key
label_desc: Use image node_id 6 for calling the TestDecorateSortUndecorate obj's underlying member method code with example usage: obj.test_key_with_mutating_del() and returns: unknown