def METHOD_NAME(no_sched_getaffinity):
    with mock.patch.object(multiprocessing, 'cpu_count', return_value=123):
        with mock.patch.dict(os.environ, {}, clear=True):
            assert lang_base.target_concurrency() == 123