Skip to content

Commit 5a504e5

Browse files
committed
Use universal newlines for running Google test
1 parent a1825d5 commit 5a504e5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

pytest_cpp/google.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ def run_test(self, executable, test_id):
6161
'--gtest_output=xml:%s' % xml_filename,
6262
]
6363
try:
64-
subprocess.check_output(args, stderr=subprocess.STDOUT)
64+
subprocess.check_output(args,
65+
stderr=subprocess.STDOUT,
66+
universal_newlines=True)
6567
except subprocess.CalledProcessError as e:
6668
if e.returncode != 1:
6769
msg = ('Internal Error: calling {executable} '

0 commit comments

Comments
 (0)