Put each item of callables and properties on a new line

Makes it easier to see diffs.
pull/1803/head
Daniele Forsi IU5HKX 2025-07-18 23:41:36 +02:00
rodzic 60541cf35b
commit 9931b1ce9c
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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: