Author: gstein
Date: Sat May 11 01:50:57 2024
New Revision: 1917656
URL: http://svn.apache.org/viewvc?rev=1917656&view=rev
Log:
Sort some output for stability/diffs.
* tools/hook-scripts/mailer/tests/mailer-t3.py:
(test_config_parsing): sort keys and maps for stability
Modified:
subversion/trunk/tools/hook-scripts/mailer/tests/mailer-t3.py
Modified: subversion/trunk/tools/hook-scripts/mailer/tests/mailer-t3.py
URL:
http://svn.apache.org/viewvc/subversion/trunk/tools/hook-scripts/mailer/tests/mailer-t3.py?rev=1917656&r1=1917655&r2=1917656&view=diff
==============================================================================
--- subversion/trunk/tools/hook-scripts/mailer/tests/mailer-t3.py (original)
+++ subversion/trunk/tools/hook-scripts/mailer/tests/mailer-t3.py Sat May 11
01:50:57 2024
@@ -51,8 +51,8 @@ def test_config_parsing(repos_dir):
fp = open(os.path.join(T3_DIR, PARSED_OUTPUT), 'w')
pprint.pprint(cfg._default_params, stream=fp)
pprint.pprint(cfg._groups, stream=fp)
- pprint.pprint(cfg.__dict__.keys(), stream=fp)
- pprint.pprint([d for d in dir(cfg.maps) if not d.startswith('_')],
stream=fp)
+ pprint.pprint(sorted(cfg.__dict__.keys()), stream=fp)
+ pprint.pprint(sorted(d for d in dir(cfg.maps) if not d.startswith('_')),
stream=fp)
pprint.pprint(cfg._group_re, stream=fp)