mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
fix test_linkcode str/bytes incompatibility at py3
This commit is contained in:
parent
0c02841412
commit
bee7f8bc39
@ -16,7 +16,7 @@ from util import *
|
||||
def test_html(app):
|
||||
app.builder.build_all()
|
||||
|
||||
fp = open(os.path.join(app.outdir, 'objects.html'), 'rb')
|
||||
fp = open(os.path.join(app.outdir, 'objects.html'), 'r')
|
||||
try:
|
||||
stuff = fp.read()
|
||||
finally:
|
||||
|
Loading…
Reference in New Issue
Block a user