# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1488978769 -32400 # Wed Mar 08 22:12:49 2017 +0900 # Node ID 08b1e247765641ab9ab7734add717e0c64b3c938 # Parent 132c275a0133ae30702d8fc11f98fdc89c9a74b9 tests: make run-tests.py run on Python 3 again
diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -941,7 +941,7 @@ class Test(unittest.TestCase): (os.path.join(self._testtmp, b'.cache/largefiles'))) hgrc.write(b'[web]\n') hgrc.write(b'address = localhost\n') - hgrc.write(b'ipv6 = %s\n' % self._useipv6) + hgrc.write(b'ipv6 = %s\n' % str(self._useipv6).encode('ascii')) for opt in self._extraconfigopts: section, key = opt.split('.', 1) _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel