Sort the lists of callables and properties

The dir() function returns a list which is not necessarily ordered
in fact it wasn't ordered on the CI runner.
pull/1803/head
Daniele Forsi IU5HKX 2025-07-12 13:37:15 +02:00
rodzic 3d6e5f1684
commit 60541cf35b
5 zmienionych plików z 10 dodań i 0 usunięć

Wyświetl plik

@ -43,6 +43,8 @@ class TestClass:
else:
properties.append(method_or_property)
callables.sort()
properties.sort()
return callables, properties

Wyświetl plik

@ -36,4 +36,6 @@ class TestClass:
else:
properties.append(method_or_property)
callables.sort()
properties.sort()
return callables, properties

Wyświetl plik

@ -36,4 +36,6 @@ class TestClass:
else:
properties.append(method_or_property)
callables.sort()
properties.sort()
return callables, properties

Wyświetl plik

@ -36,4 +36,6 @@ class TestClass:
else:
properties.append(method_or_property)
callables.sort()
properties.sort()
return callables, properties

Wyświetl plik

@ -36,4 +36,6 @@ class TestClass:
else:
properties.append(method_or_property)
callables.sort()
properties.sort()
return callables, properties