Show More
@@ -431,20 +431,20 b' class Test(unittest.TestCase):' | |||||
431 |
|
431 | |||
432 | shell is the shell to execute tests in. |
|
432 | shell is the shell to execute tests in. | |
433 | """ |
|
433 | """ | |
434 |
|
434 | self.path = path | ||
435 |
self. |
|
435 | self.bname = os.path.basename(path) | |
436 |
self.name = |
|
436 | self.name = self.bname.decode('utf-8') | |
437 | self._testdir = os.path.dirname(path) |
|
437 | self._testdir = os.path.dirname(path) | |
438 | self.errpath = os.path.join(self._testdir, '%s.err' % self.name) |
|
438 | self.errpath = os.path.join(self._testdir, b'%s.err' % self.bname) | |
439 |
|
439 | |||
440 |
self._threadtmp = tmpdir |
|
440 | self._threadtmp = tmpdir | |
441 | self._keeptmpdir = keeptmpdir |
|
441 | self._keeptmpdir = keeptmpdir | |
442 | self._debug = debug |
|
442 | self._debug = debug | |
443 | self._timeout = timeout |
|
443 | self._timeout = timeout | |
444 | self._startport = startport |
|
444 | self._startport = startport | |
445 | self._extraconfigopts = extraconfigopts or [] |
|
445 | self._extraconfigopts = extraconfigopts or [] | |
446 | self._py3kwarnings = py3kwarnings |
|
446 | self._py3kwarnings = py3kwarnings | |
447 | self._shell = shell |
|
447 | self._shell = shell.encode('utf-8') | |
448 |
|
448 | |||
449 | self._aborted = False |
|
449 | self._aborted = False | |
450 | self._daemonpids = [] |
|
450 | self._daemonpids = [] |
General Comments 0
You need to be logged in to leave comments.
Login now