@@ -33,7 +33,7 @@ def mpi_funct_sleep(i):
3333
3434
3535class TestExecutorBackend (unittest .TestCase ):
36- def test_meta_executor_serial (self ):
36+ def test_block_allocation_serial_two_cores (self ):
3737 with SingleNodeExecutor (max_cores = 2 , block_allocation = True ) as exe :
3838 cloudpickle_register (ind = 1 )
3939 fs_1 = exe .submit (calc , 1 )
@@ -43,7 +43,7 @@ def test_meta_executor_serial(self):
4343 self .assertTrue (fs_1 .done ())
4444 self .assertTrue (fs_2 .done ())
4545
46- def test_meta_executor_single (self ):
46+ def test_block_allocation_serial_one_core (self ):
4747 with SingleNodeExecutor (max_cores = 1 , block_allocation = True ) as exe :
4848 cloudpickle_register (ind = 1 )
4949 fs_1 = exe .submit (calc , 1 )
@@ -62,7 +62,7 @@ def test_oversubscribe(self):
6262 @unittest .skipIf (
6363 skip_mpi4py_test , "mpi4py is not installed, so the mpi4py tests are skipped."
6464 )
65- def test_meta_executor_parallel (self ):
65+ def test_block_allocation_mpi_two_cores (self ):
6666 with SingleNodeExecutor (
6767 max_workers = 2 ,
6868 resource_dict = {"cores" : 2 },
@@ -73,7 +73,7 @@ def test_meta_executor_parallel(self):
7373 self .assertEqual (fs_1 .result (), [(1 , 2 , 0 ), (1 , 2 , 1 )])
7474 self .assertTrue (fs_1 .done ())
7575
76- def test_errors (self ):
76+ def test_invalid_constructor_arguments_raise_errors (self ):
7777 with self .assertRaises (TypeError ):
7878 SingleNodeExecutor (
7979 max_cores = 1 ,
@@ -88,7 +88,7 @@ def tearDown(self):
8888 @unittest .skipIf (
8989 skip_mpi4py_test , "mpi4py is not installed, so the mpi4py tests are skipped."
9090 )
91- def test_meta_executor_parallel_cache (self ):
91+ def test_block_allocation_mpi_two_cores_with_cache (self ):
9292 with SingleNodeExecutor (
9393 max_workers = 2 ,
9494 resource_dict = {"cores" : 2 },
0 commit comments