changeset 35114: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 79cbf5cc4fb8
children 1ac4c0887de4
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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 = {}