def METHOD_NAME(self):
    s = slice(1)
    self.assertEqual(s.start, None)
    self.assertEqual(s.stop, 1)
    self.assertEqual(s.step, None)
    s = slice(1, 2)
    self.assertEqual(s.start, 1)
    self.assertEqual(s.stop, 2)
    self.assertEqual(s.step, None)
    s = slice(1, 2, 3)
    self.assertEqual(s.start, 1)
    self.assertEqual(s.stop, 2)
    self.assertEqual(s.step, 3)
    class AnyClass:
        pass
    obj = AnyClass()
    s = slice(obj)
    self.assertTrue(s.stop is obj)