From 8a15b991de1c0d1701e342dbf6c132deca98c93f Mon Sep 17 00:00:00 2001 From: Jose Santos Date: Mon, 26 Feb 2024 13:12:52 -0600 Subject: [PATCH] reformatting Signed-off-by: Jose Santos --- tests/test_analyze_commands.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/test_analyze_commands.py b/tests/test_analyze_commands.py index 7c3045306c..154ef85c90 100644 --- a/tests/test_analyze_commands.py +++ b/tests/test_analyze_commands.py @@ -1629,6 +1629,7 @@ def test_dependency_MI100(): omniperf.main() assert e.value.code == 0 + @pytest.mark.misc def test_save_dfs(): output_path = "tests/workloads/vcopy/saved_analysis" @@ -1649,12 +1650,13 @@ def test_save_dfs(): files_in_workload = os.listdir(output_path) for file_name in files_in_workload: import pandas as pd + df = pd.read_csv(output_path + "/" + file_name) print(file_name) single_row_tables = [ - '0.1_Top_Kernels.csv', - '13.3_Instruction_Cache_-_L2_Interface.csv', - '18.1_Aggregate_Stats_(All_32_channels).csv' + "0.1_Top_Kernels.csv", + "13.3_Instruction_Cache_-_L2_Interface.csv", + "18.1_Aggregate_Stats_(All_32_channels).csv", ] if file_name in single_row_tables: assert len(df.index) == 1