mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
test: Decode stdout and stderr of epubcheck
This commit is contained in:
parent
4ec6cbe341
commit
000328f7fd
@ -391,6 +391,6 @@ def test_run_epubcheck(app):
|
||||
subprocess.run(['java', '-jar', epubcheck, app.outdir / 'SphinxTests.epub'],
|
||||
stdout=PIPE, stderr=PIPE, check=True)
|
||||
except CalledProcessError as exc:
|
||||
print(exc.stdout)
|
||||
print(exc.stderr)
|
||||
print(exc.stdout.decode('utf-8'))
|
||||
print(exc.stderr.decode('utf-8'))
|
||||
assert False, 'epubcheck exited with return code %s' % exc.returncode
|
||||
|
Loading…
Reference in New Issue
Block a user