def METHOD_NAME(self):
    s = slice(10, 20, 3)
    for protocol in (0,1,2):
        t = loads(dumps(s, protocol))
        self.assertEqual(s, t)
        self.assertEqual(s.indices(15), t.indices(15))
        self.assertNotEqual(id(s), id(t))