Skip to content

Commit 4bc3115

Browse files
committed
just in case
1 parent cd140b5 commit 4bc3115

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/rununittests.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
from __future__ import print_function
2+
from __future__ import unicode_literals
3+
from io import open
24
from glob import glob
35
import sys
46
import os
@@ -19,7 +21,11 @@ def run( self, options ):
1921
else:
2022
cmd = []
2123
cmd.extend( [self.test_exe_path, '--test-auto'] + options )
22-
process = subprocess.Popen( cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT )
24+
try:
25+
process = subprocess.Popen( cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT )
26+
except:
27+
print(cmd)
28+
raise
2329
stdout = process.communicate()[0]
2430
if process.returncode:
2531
return False, stdout

0 commit comments

Comments
 (0)