Fix ordering of prototype diff output for test
This commit is contained in:
parent
e9fb17528d
commit
95c3adc163
2 changed files with 22 additions and 19 deletions
|
|
@ -2004,7 +2004,8 @@ def _format_diff_text_and_options(diff, **kwargs):
|
|||
("diff", diff)), **kwargs))})
|
||||
optnum += 1
|
||||
else:
|
||||
for key, subdiffpart in diffpart.items():
|
||||
for key in sorted(list(diffpart.keys())):
|
||||
subdiffpart = diffpart[key]
|
||||
text, option, optnum = _parse_diffpart(
|
||||
subdiffpart, optnum, *(args + (key, )))
|
||||
texts.extend(text)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue