# HG changeset patch # User Boris Feld # Date 1511061055 -3600 # Node ID 6a8e857021219404e9f7316fe7253e6a3799f8f6 # Parent 79cbf5cc4fb86c43414065425edc48f2eb469bfd run-test: use byte for 'common-pattern.py' path This is required for Python 3. diff -r 79cbf5cc4fb8 -r 6a8e85702121 tests/run-tests.py --- 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 = {}