We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be0e39d commit 8c266eeCopy full SHA for 8c266ee
1 file changed
test/testrunner.py
@@ -162,11 +162,10 @@ def wait_status(self):
162
# Start and wait for the process
163
self.proc_.communicate()
164
165
- os.chdir(startdir + "/" + self.path_)
166
- with open('log_stdout.log', 'r') as log_stdout:
+ with open('{}/log_stdout.log'.format(self.path_), 'r') as log_stdout:
167
self.output_.append(log_stdout.read())
168
169
- with open('log_stderr.log', 'r') as log_stderr:
+ with open('{}/log_stderr.log'.format(self.path_), 'r') as log_stderr:
170
self.output_.append(log_stderr.read())
171
172
0 commit comments