def default_test_processes():
    # The current implementation of the parallel test runner requires
    # multiprocessing to start subprocesses with fork().
    # On Python 3.4+: if multiprocessing.get_start_method() != 'fork':
    if not hasattr(os, 'fork'):
        return 1
    try:
        return int(os.environ['DJANGO_TEST_PROCESSES'])
    except KeyError:
        return multiprocessing.cpu_count()
Send a message to the server and possibly receive a reply.
dataset/ETHPy150Open django/django/django/test/runner.py/default_test_processes--crossover with--dataset/ETHPy150Open mbr/tinyrpc/tinyrpc/transports/__init__.py/ClientTransport.send_message