changeset 40950:52fbf8a9907c

py3: add a b'' prefix in tests/test-remotefilelog-pull-noshallow.t This makes the test pass on Python 3. # skip-blame because just b'' prefix. Differential Revision: https://phab.mercurial-scm.org/D5427
author Pulkit Goyal <pulkit@yandex-team.ru>
date Fri, 14 Dec 2018 21:00:33 +0300
parents f732889abe0e
children e993a86cfcb8
files contrib/python3-whitelist tests/test-remotefilelog-pull-noshallow.t
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/python3-whitelist	Fri Dec 14 12:01:47 2018 -0500
+++ b/contrib/python3-whitelist	Fri Dec 14 21:00:33 2018 +0300
@@ -531,6 +531,7 @@
 test-remotefilelog-keepset.t
 test-remotefilelog-partial-shallow.t
 test-remotefilelog-prefetch.t
+test-remotefilelog-pull-noshallow.t
 test-remotefilelog-share.t
 test-remotefilelog-tags.t
 test-remove.t
--- a/tests/test-remotefilelog-pull-noshallow.t	Fri Dec 14 12:01:47 2018 -0500
+++ b/tests/test-remotefilelog-pull-noshallow.t	Fri Dec 14 21:00:33 2018 +0300
@@ -11,7 +11,7 @@
   $ cat > setupremotefilelog.py << EOF
   > from mercurial import extensions
   > def extsetup(ui):
-  >     remotefilelog = extensions.find('remotefilelog')
+  >     remotefilelog = extensions.find(b'remotefilelog')
   >     remotefilelog.onetimeclientsetup(ui)
   > EOF