diff contrib/python3-whitelist @ 38473:9ef9884e5d50

py3: make tests/test-diff-antipatience.t work with python 3 On python3, if we do list(b'abcd'), we get [97, 98, 99, 100]. So this patch does the list() operation on unicodes and then convert things to bytes. This also adds `and None` to suppress return values of .write() calls. Differential Revision: https://phab.mercurial-scm.org/D3833
author Pulkit Goyal <7895pulkit@gmail.com>
date Tue, 26 Jun 2018 00:37:02 +0530
parents afa96dd5a483
children 4c358bdaada8
line wrap: on
line diff
--- a/contrib/python3-whitelist	Mon Jun 25 11:04:17 2018 -0700
+++ b/contrib/python3-whitelist	Tue Jun 26 00:37:02 2018 +0530
@@ -88,6 +88,7 @@
 test-debugindexdot.t
 test-debugrename.t
 test-default-push.t
+test-diff-antipatience.t
 test-diff-binary-file.t
 test-diff-change.t
 test-diff-copy-depth.t