code: def test_delslice(self):
      a = self.type2test([0, 1])
      del a[1:2]
      del a[0:1]
      self.assertEqual(a, self.type2test([]))
  
      a = self.type2test([0, 1])
      del a[1:2]
      del a[0:1]
      self.assertEqual(a, self.type2test([]))
  
      a = self.type2test([0, 1])
      del a[-2:-1]
      self.assertEqual(a, self.type2test([1]))
  
      a = self.type2test([0, 1])
      del a[-2:-1]
      self.assertEqual(a, self.type2test([1]))
  
      a = self.type2test([0, 1])
      del a[1:]
      del a[:1]
      self.assertEqual(a, self.type2test([]))
  
      a = self.type2test([0, 1])
      del a[1:]
      del a[:1]
      self.assertEqual(a, self.type2test([]))
  
      a = self.type2test([0, 1])
      del a[-1:]
      self.assertEqual(a, self.type2test([0]))
  
      a = self.type2test([0, 1])
      del a[-1:]
      self.assertEqual(a, self.type2test([0]))
  
      a = self.type2test([0, 1])
      del a[:]
      self.assertEqual(a, self.type2test([]))
  
imports: import sys
  from functools import cmp_to_key
  from test import seq_tests
  from test.support import ALWAYS_EQ, NEVER_EQ, Py_C_RECURSION_LIMIT
label_desc: Use image node_id 11 for calling the CommonTest obj's underlying member method code with example usage: obj.test_delslice() without return types