##// END OF EJS Templates
run-tests: endswith takes bytes as argument in python3, not str
Matthieu Laneuville -
r34967:d8c2db61 default
parent child Browse files
Show More
@@ -2356,8 +2356,8 b' class TestRunner(object):'
2356 # assume all tests in same folder for now
2356 # assume all tests in same folder for now
2357 if testdescs:
2357 if testdescs:
2358 pathname = os.path.dirname(testdescs[0]['path'])
2358 pathname = os.path.dirname(testdescs[0]['path'])
2359 if pathname and not osenvironb[b'TESTDIR'].endswith('/'):
2359 if pathname and not osenvironb[b'TESTDIR'].endswith(b'/'):
2360 osenvironb[b'TESTDIR'] += '/'
2360 osenvironb[b'TESTDIR'] += b'/'
2361 osenvironb[b'TESTDIR'] += pathname
2361 osenvironb[b'TESTDIR'] += pathname
2362 if self.options.outputdir:
2362 if self.options.outputdir:
2363 self._outputdir = canonpath(_bytespath(self.options.outputdir))
2363 self._outputdir = canonpath(_bytespath(self.options.outputdir))
General Comments 0
You need to be logged in to leave comments. Login now