# HG changeset patch # User Augie Fackler # Date 1539352843 14400 # Node ID 0173ed47a873238c17083f0f34f29b9870da029e # Parent b348fe5f5c36ddf31d4650061dccbcf7f6765274 tests: fix a repr on python3 in test-extension.t Differential Revision: https://phab.mercurial-scm.org/D4993 diff -r b348fe5f5c36 -r 0173ed47a873 tests/test-extension.t --- 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 < 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