From 9931b1ce9c2dbde94690a889e40d1c259d867092 Mon Sep 17 00:00:00 2001 From: Daniele Forsi IU5HKX Date: Fri, 18 Jul 2025 23:41:36 +0200 Subject: [PATCH] Put each item of callables and properties on a new line Makes it easier to see diffs. --- bindings/python/generate_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/python/generate_tests.py b/bindings/python/generate_tests.py index 0193dde21..068a8346c 100755 --- a/bindings/python/generate_tests.py +++ b/bindings/python/generate_tests.py @@ -61,8 +61,8 @@ import Hamlib ''' filename = f"test_{object_name.replace(".", "_")}_class.py" class_source = inspect.getsource(TestClass) - expected_callables = repr(callables) - expected_properties = repr(properties) + expected_callables = repr(callables).replace(" ", "\n") + expected_properties = repr(properties).replace(" ", "\n") print(f"Generating {filename}") with open(filename, "w", encoding='utf-8') as output_file: