Skip to content

Commit 826c45a

Browse files
committed
run formatters
1 parent 94c3820 commit 826c45a

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

projects/rocprofiler-sdk/tests/pytest-packages/tests/rocprofv3.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -577,9 +577,7 @@ def test_perfetto_hip_event_annotations(pftrace_data, pftrace_filename):
577577

578578
# Check if we found any event handle annotations
579579
if result.empty:
580-
pytest.skip(
581-
"No HIP event API calls with event annotations found. "
582-
)
580+
pytest.skip("No HIP event API calls with event annotations found. ")
583581

584582
print(f"\n{len(result)} HIP event argument annotations found:")
585583
print(result.to_string())
@@ -598,9 +596,7 @@ def test_perfetto_hip_event_annotations(pftrace_data, pftrace_filename):
598596

599597
# Validate that event values are present (non-null)
600598
null_values = result[result["arg_value"].isna()]
601-
assert (
602-
null_values.empty
603-
), f"Found {len(null_values)} event arguments with null values"
599+
assert null_values.empty, f"Found {len(null_values)} event arguments with null values"
604600

605601
print(
606602
f"\nValidation passed: Found {len(result)} event handle annotations "

projects/rocprofiler-sdk/tests/rocprofv3/rocpd/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ rocprofiler_add_integration_execute_test(
126126
rocprofiler_add_integration_execute_test(
127127
rocprofv3-test-rocpd-perfetto-generation
128128
COMMAND
129-
${Python3_EXECUTABLE} -m rocpd convert -f pftrace --kernel-rename --annotate-args -d
130-
${CMAKE_CURRENT_BINARY_DIR}/rocpd-output-data -i
129+
${Python3_EXECUTABLE} -m rocpd convert -f pftrace --kernel-rename --annotate-args
130+
-d ${CMAKE_CURRENT_BINARY_DIR}/rocpd-output-data -i
131131
${CMAKE_CURRENT_BINARY_DIR}/rocpd-input-data/out_results.db
132132
DEPENDS rocprofiler-sdk::rocprofv3
133133
TIMEOUT 120

0 commit comments

Comments
 (0)