human
I wrote the below code

    ptests = []
    stests = []
    def is_parallelizable_test_case(test):
        method_name = test._testMethodName
        method = getattr(test, method_name)
        if ((method.__name__ != method_name) and (method.__name__ == 'testFailure')):
            return False
        return getattr(test, '_numba_parallel_test_', True)
    if isinstance(test, unittest.TestSuite):
        for t in test:
            (p, s) = _split_nonparallel_tests(t)
            ptests.extend(p)
            stests.extend(s)
    elif is_parallelizable_test_case(test):
        ptests = [test]
    else:
        stests = _flatten_suite(test)
    return (ptests, stests)

What's a good function header?
assistant
#Here's a good function header.

def _split_nonparallel_tests(test):