@@ -55,7 +55,9 @@ class UseResources(CommandLine):
55
55
56
56
@pytest .mark .skip (reason = "inconsistent readings" )
57
57
@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
+ )
59
61
def test_cmdline_profiling (tmpdir , mem_gb , n_procs , use_resource_monitor ):
60
62
"""
61
63
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):
80
82
@pytest .mark .skipif (
81
83
True , reason = "test disabled temporarily, until function profiling works"
82
84
)
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
+ )
84
88
def test_function_profiling (tmpdir , mem_gb , n_procs , use_resource_monitor ):
85
89
"""
86
90
Test runtime profiler correctly records workflow RAM/CPUs consumption
0 commit comments