kopia lustrzana https://github.com/Hamlib/Hamlib
Put each item of callables and properties on a new line
Makes it easier to see diffs.pull/1803/head
rodzic
60541cf35b
commit
9931b1ce9c
|
@ -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:
|
||||
|
|
Ładowanie…
Reference in New Issue