D4993: tests: fix a repr on python3 in test-extension.t

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Fri Oct 12 11:58:49 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG0173ed47a873: tests: fix a repr on python3 in test-extension.t (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4993?vs=11898&id=11907

REVISION DETAIL
  https://phab.mercurial-scm.org/D4993

AFFECTED FILES
  tests/test-extension.t

CHANGE DETAILS

diff --git a/tests/test-extension.t b/tests/test-extension.t
--- a/tests/test-extension.t
+++ b/tests/test-extension.t
@@ -421,8 +421,10 @@
   > EOF
   $ cat > $TESTTMP/absextroot/xsub1/xsub2/relimporter.py <<EOF
   > from __future__ import absolute_import
+  > from mercurial import pycompat
   > from ... import relimportee
-  > detail = b"this relimporter imports %r" % (relimportee.detail)
+  > detail = b"this relimporter imports %r" % (
+  >     pycompat.bytestr(relimportee.detail))
   > EOF
 
 Setup modules, which actually import extension local modules at



To: durin42, #hg-reviewers, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list