kopia lustrzana https://github.com/Hamlib/Hamlib
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
rodzic
3d6e5f1684
commit
60541cf35b
|
@ -43,6 +43,8 @@ class TestClass:
|
|||
else:
|
||||
properties.append(method_or_property)
|
||||
|
||||
callables.sort()
|
||||
properties.sort()
|
||||
return callables, properties
|
||||
|
||||
|
||||
|
|
|
@ -36,4 +36,6 @@ class TestClass:
|
|||
else:
|
||||
properties.append(method_or_property)
|
||||
|
||||
callables.sort()
|
||||
properties.sort()
|
||||
return callables, properties
|
||||
|
|
|
@ -36,4 +36,6 @@ class TestClass:
|
|||
else:
|
||||
properties.append(method_or_property)
|
||||
|
||||
callables.sort()
|
||||
properties.sort()
|
||||
return callables, properties
|
||||
|
|
|
@ -36,4 +36,6 @@ class TestClass:
|
|||
else:
|
||||
properties.append(method_or_property)
|
||||
|
||||
callables.sort()
|
||||
properties.sort()
|
||||
return callables, properties
|
||||
|
|
|
@ -36,4 +36,6 @@ class TestClass:
|
|||
else:
|
||||
properties.append(method_or_property)
|
||||
|
||||
callables.sort()
|
||||
properties.sort()
|
||||
return callables, properties
|
||||
|
|
Ładowanie…
Reference in New Issue