diff contrib/python3-whitelist @ 41514:8c13f7b0ace6

tests: alter email `From` line to a value that's consistently parsed Python2: >>> email.header.decode_header('=?UTF-8?q?Rapha=C3=ABl=20Hertzog?= <hertzog@debian.org>') [('Rapha\xc3\xabl Hertzog', 'utf-8'), ('<hertzog@debian.org>', None)] Python3: >>> email.header.decode_header('=?UTF-8?q?Rapha=C3=ABl=20Hertzog?= <hertzog@debian.org>') [(b'Rapha\xc3\xabl Hertzog', 'utf-8'), (b' <hertzog@debian.org>', None)] So alter the input to an input that parses to the same result consistently. After skimming the relevant RFC (1342), I'm not sure if what we had was valid, or how I could modify it to be more consistent. Differential Revision: https://phab.mercurial-scm.org/D5769
author Augie Fackler <augie@google.com>
date Wed, 30 Jan 2019 19:43:43 -0500
parents 46ab0c6b28dc
children 13dad5cb4b99
line wrap: on
line diff
--- a/contrib/python3-whitelist	Thu Jan 31 16:51:52 2019 -0800
+++ b/contrib/python3-whitelist	Wed Jan 30 19:43:43 2019 -0500
@@ -311,6 +311,7 @@
 test-import-bypass.t
 test-import-context.t
 test-import-eol.t
+test-import-git.t
 test-import-merge.t
 test-import-unknown.t
 test-import.t