@@ -55,7 +55,9 @@ class UseResources(CommandLine):
5555
5656@pytest .mark .skip (reason = "inconsistent readings" )
5757@pytest .mark .skipif (os .getenv ("CI_SKIP_TEST" , False ), reason = "disabled in CI tests" )
58- @pytest .mark .parametrize ("mem_gb,n_procs" , [(0.5 , 3 ), (2.2 , 8 ), (0.8 , 4 ), (1.5 , 1 )])
58+ @pytest .mark .parametrize (
59+ ("mem_gb" , "n_procs" ), [(0.5 , 3 ), (2.2 , 8 ), (0.8 , 4 ), (1.5 , 1 )]
60+ )
5961def test_cmdline_profiling (tmpdir , mem_gb , n_procs , use_resource_monitor ):
6062 """
6163 Test runtime profiler correctly records workflow RAM/CPUs consumption
@@ -80,7 +82,9 @@ def test_cmdline_profiling(tmpdir, mem_gb, n_procs, use_resource_monitor):
8082@pytest .mark .skipif (
8183 True , reason = "test disabled temporarily, until function profiling works"
8284)
83- @pytest .mark .parametrize ("mem_gb,n_procs" , [(0.5 , 3 ), (2.2 , 8 ), (0.8 , 4 ), (1.5 , 1 )])
85+ @pytest .mark .parametrize (
86+ ("mem_gb" , "n_procs" ), [(0.5 , 3 ), (2.2 , 8 ), (0.8 , 4 ), (1.5 , 1 )]
87+ )
8488def test_function_profiling (tmpdir , mem_gb , n_procs , use_resource_monitor ):
8589 """
8690 Test runtime profiler correctly records workflow RAM/CPUs consumption
0 commit comments