@mock.patch('concurrent.futures.ProcessPoolExecutor')
def test_compile_workers_cpu_count(self, pool_mock):
    compileall.compile_dir(self.directory, quiet=True, workers=0)
    self.assertEqual(pool_mock.call_args[1]['max_workers'], None)
@mock.patch('concurrent.futures.ProcessPoolExecutor')
def test_compile_workers_cpu_count(self, pool_mock):
    compileall.compile_dir(self.directory, quiet=True, workers=0)
    self.assertEqual(pool_mock.call_args[1]['max_workers'], None)