run-test: use byte for 'common-pattern.py' path
authorBoris Feld <boris.feld@octobus.net>
Sun, 19 Nov 2017 04:10:55 +0100
changeset 35091 6a8e85702121
parent 35090 79cbf5cc4fb8
child 35092 1ac4c0887de4
run-test: use byte for 'common-pattern.py' path This is required for Python 3.
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 = {}