Show More
@@ -398,6 +398,10 b' class Test(object):' | |||
|
398 | 398 | os.path.basename(self._path)) |
|
399 | 399 | os.mkdir(self._testtmp) |
|
400 | 400 | |
|
401 | # Remove any previous output files. | |
|
402 | if os.path.exists(self._errpath): | |
|
403 | os.remove(self._errpath) | |
|
404 | ||
|
401 | 405 | def run(self): |
|
402 | 406 | """Run this test instance. |
|
403 | 407 | |
@@ -430,10 +434,6 b' class Test(object):' | |||
|
430 | 434 | if not os.path.basename(self.name.lower()).startswith('test-'): |
|
431 | 435 | return self.skip('not a test file') |
|
432 | 436 | |
|
433 | # Remove any previous output files. | |
|
434 | if os.path.exists(self._errpath): | |
|
435 | os.remove(self._errpath) | |
|
436 | ||
|
437 | 437 | replacements, port = self._getreplacements() |
|
438 | 438 | env = self._getenv(port) |
|
439 | 439 | self._daemonpids.append(env['DAEMON_PIDS']) |
General Comments 0
You need to be logged in to leave comments.
Login now