You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2020/08/23 23:17:12 UTC

[incubator-ponymail-unit-tests] 01/02: Retain order of keys, so index is first

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-unit-tests.git

commit b78a74f457888df7c031949908013d2d77bed3ae
Author: Sebb <se...@apache.org>
AuthorDate: Mon Aug 24 00:15:25 2020 +0100

    Retain order of keys, so index is first
---
 tests/test-parsing.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test-parsing.py b/tests/test-parsing.py
index 20e8c87..6997949 100755
--- a/tests/test-parsing.py
+++ b/tests/test-parsing.py
@@ -42,7 +42,7 @@ def generate_specs(args):
             })
         items[mboxfile] = tests
     with open(args.generate, 'w') as f:
-        yaml.dump({'args': {'cmd': " ".join(sys.argv), 'parse_html': True if args.html else False}, 'parsing': items}, f)
+        yaml.dump({'args': {'cmd': " ".join(sys.argv), 'parse_html': True if args.html else False}, 'parsing': items}, f, sort_keys=False)
         f.close()