diff contrib/python3-whitelist @ 37915:6574c81b6831

tests: port test-hybridencode.py to unittest This was done predominantly through keyboard macros in emacs, so it's not always pretty, but it's enough to make the test easier to work with. There's a ton of room for improvement in this file, but it would be labor intensive and error-prone, so I went with the dumbest option that could work, so as to avoid transcription errors. Paranoia: $ egrep '^ def test' tests/test-hybridencode.py | wc -l 44 $ egrep '^ def test' tests/test-hybridencode.py | sort | uniq | wc -l so I'm pretty confident there aren't any shadowed test methods. This fixes the test on Python 3. Differential Revision: https://phab.mercurial-scm.org/D3466
author Augie Fackler <augie@google.com>
date Thu, 26 Apr 2018 23:33:27 -0400
parents 39c17718f311
children 078c3eec2d5c
line wrap: on
line diff
--- a/contrib/python3-whitelist	Thu Apr 26 21:39:35 2018 -0400
+++ b/contrib/python3-whitelist	Thu Apr 26 23:33:27 2018 -0400
@@ -182,6 +182,7 @@
 test-http-bundle1.t
 test-http-clone-r.t
 test-http.t
+test-hybridencode.py
 test-identify.t
 test-import-unknown.t
 test-import.t