Mercurial > hg-stable
changeset 45453:c6e332a451d0
py3: fix bytes and str mixup in run-tests
Differential Revision: https://phab.mercurial-scm.org/D9009
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Fri, 11 Sep 2020 13:04:05 +0530 |
parents | 3d9f1dfc52c2 |
children | 037e88d453fa |
files | tests/run-tests.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/run-tests.py Mon Aug 17 10:59:30 2020 +0200 +++ b/tests/run-tests.py Fri Sep 11 13:04:05 2020 +0530 @@ -3347,7 +3347,8 @@ else: errpath = b'%s.err' % test['path'] if self.options.outputdir: - errpath = os.path.join(self.options.outputdir, errpath) + self._outputdir = canonpath(_sys2bytes(self.options.outputdir)) + errpath = os.path.join(self._outputdir, errpath) return errpath def _getport(self, count):