tests/test-extension.t
changeset 40183 0173ed47a873
parent 40182 b348fe5f5c36
child 40184 c3b7d9c54edd
--- a/tests/test-extension.t	Fri Oct 12 10:00:14 2018 -0400
+++ b/tests/test-extension.t	Fri Oct 12 10:00:43 2018 -0400
@@ -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