Skip to content

Commit 1fe0aaa

Browse files
committed
[validation] sort kwargs by name for format_kwargs_to_string
Signed-off-by: dliu-ibm <[email protected]>
1 parent c4d8e98 commit 1fe0aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aiu_fms_testing_utils/testing/validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def __len__(self):
127127

128128
def format_kwargs_to_string(**kwargs):
129129
formatted_pairs = []
130-
for key, value in kwargs.items():
130+
for key, value in sorted(kwargs.items()):
131131
formatted_value = None
132132
if isinstance(value, Iterable):
133133
formatted_value = ",".join(map(str, value))

0 commit comments

Comments
 (0)