Commit aba4af12 authored by Johannes Bechberger's avatar Johannes Bechberger

Fix small bug

Don't call the `decode()` method on a string object.
parent 06151285
...@@ -63,7 +63,7 @@ class JavaExecTest(BasicSyntaxTest): ...@@ -63,7 +63,7 @@ class JavaExecTest(BasicSyntaxTest):
os.chdir(cwd) os.chdir(cwd)
if self.type == self.MODE and self.env.mode == self.MODE: if self.type == self.MODE and self.env.mode == self.MODE:
return BasicDiffTestResult(self, rtcode, out, err.decode(), exp_out) return BasicDiffTestResult(self, rtcode, out, err.decode(), exp_out)
return BasicTestResult(self, rtcode, out.decode(), err.decode()) return BasicTestResult(self, rtcode, out, err.decode())
except SigKill as sig: except SigKill as sig:
os.chdir(cwd) os.chdir(cwd)
return BasicTestResult(self, sig.retcode, "", exp_out, sig.name) return BasicTestResult(self, sig.retcode, "", exp_out, sig.name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment