Skip to content

Commit c4569d2

Browse files
Fix error message format
1 parent c1bff42 commit c4569d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/run_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def run_example(path):
3636
proc = subprocess.Popen(path, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
3737
res = proc.communicate()
3838
if proc.returncode:
39-
print(res[1])
39+
print(res[1].decode())
4040
return proc.returncode
4141

4242
class TestExamples(unittest.TestCase):

0 commit comments

Comments
 (0)