From 5bd9aabfcc4702fed4521eecb5183629f4bc2f46 Mon Sep 17 00:00:00 2001 From: Mateusz Gancarz Date: Thu, 27 Feb 2025 14:31:14 +0100 Subject: [PATCH] [#73220] fix lint errors in driver.py --- test_regress/driver.py | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/test_regress/driver.py b/test_regress/driver.py index 96b39bd5c..ae52c565b 100755 --- a/test_regress/driver.py +++ b/test_regress/driver.py @@ -2509,9 +2509,8 @@ class VlTest: def compare_saif_instances(self, first: SAIFInstance, second: SAIFInstance): if len(first.nets) != len(second.nets): - self.error( - f"Number of nets doesn't match in {first.scope_name}: {len(first.nets)} != {len(second.nets)}" - ) + self.error(f"Number of nets doesn't match in {first.scope_name}: " + f"{len(first.nets)} != {len(second.nets)}") for signal_name, saif_signal in first.nets.items(): if signal_name not in second.nets: @@ -2533,9 +2532,8 @@ class VlTest: f"{signal_name}[{bit_index}]\n") if len(first.child_instances) != len(second.child_instances): - self.error( - f"Number of child instances doesn't match in {first.scope_name}: {len(first.child_instances)} != {len(second.child_instances)}" - ) + self.error(f"Number of child instances doesn't match in {first.scope_name}: " + f"{len(first.child_instances)} != {len(second.child_instances)}") for instance_name, instance in first.child_instances.items(): if instance_name not in second.child_instances: @@ -2556,9 +2554,8 @@ class VlTest: self.error(f"Timescale doesn't match: {first.timescale} != {second.timescale}") if len(first.top_instances) != len(second.top_instances): - self.error( - f"Number of top instances doesn't match: {len(first.top_instances)} != {len(second.top_instances)}" - ) + self.error("Number of top instances doesn't match: " + f"{len(first.top_instances)} != {len(second.top_instances)}") for top_instance_name, top_instance in first.top_instances.items(): if top_instance_name not in second.top_instances: