def _split(itr, num):
    split = []
    size = int(len(itr) / num)
    for index in range(num):
        split.append(itr[size * index:size * (index + 1)])
    return split
dataset/ETHPy150Open fivethreeo/django-easytests/djeasytests/testsetup.py/_split/original