Mercurial > hg
diff tests/run-tests.py @ 35091:6a8e85702121
run-test: use byte for 'common-pattern.py' path
This is required for Python 3.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Sun, 19 Nov 2017 04:10:55 +0100 |
parents | 4fb489a998c9 |
children | 1ac4c0887de4 |
line wrap: on
line diff
--- a/tests/run-tests.py Mon Nov 20 14:30:54 2017 -0500 +++ b/tests/run-tests.py Sun Nov 19 04:10:55 2017 +0100 @@ -969,7 +969,7 @@ r.append((self._escapepath(self._testtmp), b'$TESTTMP')) testdir = os.path.dirname(self.path) - replacementfile = os.path.join(testdir, 'common-pattern.py') + replacementfile = os.path.join(testdir, b'common-pattern.py') if os.path.exists(replacementfile): data = {}