Skip to content

Commit f29ec67

Browse files
committed
Formatting
1 parent 53d7af3 commit f29ec67

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

projects/rocprofiler-systems/tests/pytest/test_jpegdecode.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ def test(self, mode, jpeg_decode_env, jpeg_decode_rules, get_run_args, gpu_info)
8383
labels=["rocJpegCreate"],
8484
counts=[1],
8585
depths=[1],
86-
counter_names=["JPEG Activity"]
87-
if "instinct" in gpu_info.categories
88-
else None,
86+
counter_names=(
87+
["JPEG Activity"] if "instinct" in gpu_info.categories else None
88+
),
8989
)
9090
self.assert_rocpd(result, rules_files=jpeg_decode_rules)

projects/rocprofiler-systems/tests/pytest/test_lulesh.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def lulesh_base_env() -> dict[str, str]:
3030
# Lulesh tests
3131
# =============================================================================
3232

33+
3334
# TODO: LULESH_USE_HIP does not currently work properly out of the box, tofix
3435
@pytest.mark.mpi_optional("lulesh")
3536
class TestLulesh(RocprofsysTest):

projects/rocprofiler-systems/tests/pytest/test_thread_limit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def thread_limit_env() -> dict[str, str]:
3232
# Helper Function
3333
# ============================================================================
3434

35+
3536
# Can't be a fixture as thread_count parametrized value is
3637
# used at collection time
3738
def get_thread_limit() -> int:

projects/rocprofiler-systems/tests/pytest/test_videodecode.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ def test(self, mode, video_decode_env, gpu_info, video_decode_rules, get_run_arg
8181
labels=["rocDecCreateVideoParser"],
8282
counts=[2],
8383
depths=[1],
84-
counter_names=["VCN Activity"]
85-
if "instinct" in gpu_info.categories
86-
else None,
84+
counter_names=(
85+
["VCN Activity"] if "instinct" in gpu_info.categories else None
86+
),
8787
)
8888
self.assert_rocpd(result, rules_files=video_decode_rules)

0 commit comments

Comments
 (0)