From 2b45f4c3994ea0d58981df494a3d4923e1b6c83d Mon Sep 17 00:00:00 2001 From: Cary R Date: Mon, 8 Dec 2025 20:41:00 -0800 Subject: [PATCH] Python test cleanup --- ivtest/vvp_reg.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ivtest/vvp_reg.py b/ivtest/vvp_reg.py index e4235d795..10cd54c1d 100755 --- a/ivtest/vvp_reg.py +++ b/ivtest/vvp_reg.py @@ -206,8 +206,7 @@ if __name__ == "__main__": # pylint: disable-next=invalid-name width = 0 for cur in tests_list: - if len(cur[0]) > width: - width = len(cur[0]) + width = max(width, len(cur[0])) # pylint: disable-next=invalid-name error_count = 0