def METHOD_NAME(self):
    self.assertRaises(ValueError, unpad, b("123456\x02"), 4)
    self.assertRaises(ValueError, unpad, b("123456\x00"), 4)
    self.assertRaises(ValueError, unpad, b("123456\x05\x05\x05\x05\x05"), 4)