def reorder_suite(suite, classes):
    class_count = len(classes)
    bins = [unittest.TestSuite() for i in range(class_count+1)]
    partition_suite(suite, classes, bins)
    for i in range(class_count):
        bins[0].addTests(bins[i+1])
    return bins[0]
Reorders a test suite by test type.
dataset/ETHPy150Open Almad/django-sane-testing/djangosanetesting/runnercompat.py/reorder_suite