mirror of
https://github.com/google/glazier.git
synced 2025-12-19 10:17:26 -05:00
Decode err for tests running under Python 3.
PiperOrigin-RevId: 240813313
This commit is contained in:
@@ -35,6 +35,7 @@ def main():
|
||||
print('**** %s ****\n' % test)
|
||||
proc = subprocess.Popen(['python', '-m', test], stderr=subprocess.PIPE)
|
||||
_, err = proc.communicate()
|
||||
err = err.decode()
|
||||
print(err)
|
||||
failed = FAILED_RE.search(err)
|
||||
if failed:
|
||||
|
||||
Reference in New Issue
Block a user