Raise LookupError in partition_all when length is invalid
#603
+20
−1
LookupError in partition_all when length is invalid
#603